:root {
  /* Paleta: dokumentacja stoczniowa — grafit morski, papier planu, mosiądz */
  --navy: #0f1e28;
  --navy-2: #16313c;
  --ink: #101c24;
  --muted: #5a6a74;
  --gold: #8a6b3d;
  --gold-light: #c9a76c;
  --sea: #144e56;
  --cream: #f1f0ec;
  --paper: #f7f6f3;
  --line: rgba(16, 28, 36, .14);
  --line-strong: rgba(16, 28, 36, .28);
  --white: #ffffff;
  --radius: 2px;
  --shadow: 0 18px 42px -30px rgba(16, 28, 36, .55);
  --container: 1180px;
  /* fotografie w kartach: pas rośnie razem z szerokością kafla */
  --media-ratio: 16 / 10;
  --media-min: 190px;
  --media-max: 300px;
  --media-band: clamp(var(--media-min), 62.5%, var(--media-max));
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.1;
  margin: 0 0 .4em;
  letter-spacing: -.012em;
  font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Brand wordmark */
.brand-name { letter-spacing: .14em; font-weight: 600; }
.brand-amp { color: var(--gold); margin: 0 .05em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247,246,243,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.2rem;
  color: var(--navy);
}
.brand-mark { font-size: 1.3rem; color: var(--gold); }
.nav { margin-left: auto; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: .45rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { width: 100%; background: var(--gold); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.nav-cta { padding: .5rem .6rem; }
nav .nav-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: .2rem;
}
.nav-actions .nav-cta {
  font-size: .64rem;
  letter-spacing: .035em;
}
.nav-actions .nav-cta::after { display: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__icon { font-size: 1.15rem; line-height: 1; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15,30,40,.86) 0%, rgba(15,30,40,.94) 100%),
    #0f1e28 center/cover no-repeat url("assets/img/hero.webp");
  overflow: hidden;
}
/* Sygnatura: plan linii teoretycznych kadłuba w tle */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,167,108,.10) 0 1px, transparent 1px 88px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 620' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23c9a76c' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M40 600C320 618 880 618 1160 600'/%3E%3Cpath d='M60 556C330 586 870 586 1140 556'/%3E%3Cpath d='M90 512C350 554 850 554 1110 512'/%3E%3Cpath d='M130 468C380 520 820 520 1070 468'/%3E%3Cpath d='M180 424C420 486 780 486 1020 424'/%3E%3Cpath d='M240 380C460 452 740 452 960 380'/%3E%3Cpath d='M310 336C500 418 700 418 890 336'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center bottom;
  background-size: auto, 100% 62%;
  opacity: 1;
  pointer-events: none;
}
.hero-inner { position: relative; padding: 104px 28px 120px; max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 600; }
.motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--gold-light);
  max-width: 640px;
  margin: .2rem 0 1.2rem;
  line-height: 1.3;
}
.lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 3rem; }
.hero-stats { display: flex; gap: 3rem; margin: 0; flex-wrap: wrap; }
.hero-stats dt { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold-light); }
.hero-stats dd { margin: 0; color: rgba(255,255,255,.65); font-size: .85rem; letter-spacing: .04em; }

/* Homepage gateway — six primary categories */
.hero-inner--gateway {
  max-width: var(--container);
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero--gateway h1 { max-width: 900px; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.hero--gateway .lead { max-width: 780px; }
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2.4rem;
}
.gateway-card {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: var(--media-band) 1.6rem 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease;
}
.gateway-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: var(--media-ratio);
  min-height: var(--media-min);
  max-height: var(--media-max);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.72) contrast(1.04);
  transition: transform .6s ease;
  z-index: 0;
}
/* linia wodna pod fotografią */
.gateway-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: var(--media-ratio);
  min-height: var(--media-min);
  max-height: var(--media-max);
  border-bottom: 2px solid var(--gold);
  z-index: 1;
}
.gateway-card--yachts::before { background-image: url("assets/img/sail.webp"); }
.gateway-card--small-boats::before { background-image: url("assets/img/motor.webp"); }
.gateway-card--charter::before { background-image: url("assets/img/marina.webp"); }
.gateway-card--guides::before { background-image: url("assets/img/teak.webp"); }
.gateway-card--market::before {
  background-image: url("assets/img/cat.webp");
  background-size: contain;
  background-position: center;
  background-color: #efece5;
  filter: none;
}
.gateway-card--renewal::before { background-image: url("assets/img/realizacje/tek-kokpit-po.webp"); }
.gateway-card--pioneers::before { background-image: url("assets/img/motor.webp"); }
.gateway-card--gielda::before { background-image: url("assets/img/marina.webp"); }
.gateway-card--realizacje::before { background-image: url("assets/img/teak.webp"); }
.gateway-card:hover {
  border-color: var(--gold);
  background: var(--white);
}
.gateway-card:hover::before { transform: scale(1.04); }
.gateway-label {
  position: relative;
  z-index: 2;
  margin-bottom: .55rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gateway-card h2 {
  position: relative;
  z-index: 2;
  max-width: 16ch;
  margin-bottom: .5rem;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  color: var(--ink);
}
.gateway-card p {
  position: relative;
  z-index: 2;
  max-width: 46ch;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .94rem;
}
.gateway-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: .8rem;
}
.gateway-card:hover .gateway-link { color: var(--ink); }

@media (max-width: 1100px) {
  .gateway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-inner--gateway { padding-top: 56px; padding-bottom: 64px; }
  .gateway-grid { grid-template-columns: 1fr; }
}

/* Homepage actions — three direct inquiry routes */
.section--actions {
  color: var(--white);
  background:
    radial-gradient(720px 360px at 90% -10%, rgba(194,160,90,.2), transparent 62%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
}
.action-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 42px;
}
.action-heading h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.action-heading > p { margin: 0; color: rgba(255,255,255,.76); }
.action-heading > p a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.action-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border-top: 4px solid var(--gold);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 70px -38px rgba(0,0,0,.92);
  transition: transform .2s ease, box-shadow .2s ease;
}
.action-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(194,160,90,.26);
  border-radius: 50%;
}
.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 78px -36px rgba(0,0,0,.98);
}
.action-card__label {
  color: #76551b;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.action-card h3 {
  max-width: 13ch;
  margin: .55rem 0 .65rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
}
.action-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.action-card .btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
@media (max-width: 900px) {
  .action-heading, .action-grid { grid-template-columns: 1fr; }
  .action-heading { align-items: start; }
  .action-card { min-height: 0; }
}
@media (max-width: 620px) {
  .action-card .btn { width: 100%; }
}

/* Sections */
.section { padding: 76px 0; }
.section--alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.kicker--light { color: var(--gold-light); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1rem; margin: 0; }

.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--gold); }

.card-media {
  position: relative;
  aspect-ratio: var(--media-ratio);
  min-height: var(--media-min);
  max-height: var(--media-max);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,29,51,.35));
}
.sample {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 2px;
}
.badge--gold { background: var(--gold); }

/* media backgrounds — lokalne zdjęcia (Wikimedia Commons, wolne licencje) */
.media--wood    { background: #2a1a0e center/cover no-repeat url("assets/img/wood.webp"); }
.media--engine  { background: #131f2c center/cover no-repeat url("assets/img/engine.webp"); }
.media--teak    { background: #4a2f17 center/cover no-repeat url("assets/img/teak.webp"); }
.media--sail    { background: #0a1d33 center/cover no-repeat url("assets/img/sail.webp"); }
.media--motor   { background: #102b4c center/cover no-repeat url("assets/img/motor.webp"); }
.media--cat     { background: #14506b center/cover no-repeat url("assets/img/cat.webp"); }
.media--classic { background: #5a3a1b center/cover no-repeat url("assets/img/classic.webp"); }
.media--marina  { background: #0d2b45 center/cover no-repeat url("assets/img/marina.webp"); }
.media--hull    { background: #1b2b3a center/cover no-repeat url("assets/img/hull.webp"); }
.media--interior { background: #3a2a1c center/cover no-repeat url("assets/img/interior.webp"); }
.media--prop    { background: #4a1f1c center/cover no-repeat url("assets/img/prop.webp"); }
.media--winch   { background: #26333d center/cover no-repeat url("assets/img/winch.webp"); }
.media--realizacja { background: #6b4a28 center/cover no-repeat url("assets/img/realizacje/tek-luk-po.webp"); }

.card-body { padding: 26px; flex: 1; }
.card-body h3 { font-size: 1.55rem; }
.card-body h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .18em;
}
.card-body h3 a:hover { color: var(--gold); }
.card-body > p { color: var(--muted); margin-bottom: .6rem; }
.price { color: var(--ink) !important; }
.price strong { font-size: 1.15rem; color: var(--ink); font-family: var(--font-display); }
.card-body .btn { margin-top: .8rem; }

/* Steps / values */
.step { padding: 6px 2px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: .9rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); margin: 0; }

/* Category cards (homepage) */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cat-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cat-grid, .cat-grid:has(> :nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid, .cat-grid:has(> :nth-child(3)), .cat-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: 1fr; } }
.cat-card {
  position: relative;
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: none;
  transition: border-color .2s ease;
}
.cat-card::before {
  content: "";
  display: block;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: var(--media-ratio);
  min-height: var(--media-min);
  max-height: var(--media-max);
  background: inherit;
  background-size: cover;
  border-bottom: 2px solid var(--gold);
}
.cat-card:hover { border-color: var(--gold); }
.cat-card .sample {
  position: absolute;
  top: 22px; left: 24px;
  font-size: 1.4rem;
  letter-spacing: .28em;
  opacity: .85;
  z-index: 2;
}
.cat-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--paper);
}
.cat-card:hover .cat-body { background: var(--white); }
.cat-num {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.cat-card h3 { font-size: 1.7rem; margin: .5rem 0 .5rem; color: var(--ink); }
.cat-card p { color: var(--muted); margin: 0 0 1.2rem; max-width: 42ch; font-size: .94rem; }
.cat-link {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.cat-card:hover .cat-link { color: var(--ink); }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding: 76px 0 66px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(201,167,108,.09) 0 1px, transparent 1px 88px);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero .kicker { color: var(--gold-light); }
.page-hero h1 { letter-spacing: -.018em; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 62ch; margin: 0 0 .4rem; font-size: 1.06rem; }
.breadcrumb { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.55); margin-bottom: 1.4rem; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--gold-light); }

/* Sub-nav on market page */
.page-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-nav a {
  padding: .55rem 1.2rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: background .2s, border-color .2s, color .2s;
}
.page-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.page-nav a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* "Dodaj ogłoszenie" placeholder card */
.placeholder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  padding: 40px 30px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.placeholder-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.placeholder-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}
.placeholder-card:hover .placeholder-plus { background: var(--gold); color: var(--white); }
.placeholder-card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.placeholder-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.empty-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 28px; font-style: italic; }

/* Motto w treści (o nas) */
.motto-inline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin: 1.6rem 0;
}

/* Siatka zespołu (2 osoby, wyśrodkowane) */
.team-grid { max-width: 760px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); }
.team-card { text-align: left; }
.team-photo {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.about-aside-media { height: 200px; margin-bottom: 18px; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}
.team-linkedin:hover { color: var(--gold); }
.li-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #0a66c2;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Profile autora */
.team-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: 1rem;
}
.team-socials .team-linkedin { margin-top: 0; }
.team-facebook {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}
.team-facebook:hover { color: var(--gold); }

/* Dane operatora */
.operator-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.operator-data > div {
  padding: 1.15rem 1.25rem;
  background: var(--white);
}
.operator-data dt {
  margin-bottom: .25rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.operator-data dd { margin: 0; color: var(--navy); font-weight: 600; }
.operator-data a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .18em; }
.operator-data a:hover { color: var(--gold); }

/* Filtr kategorii bloga */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 44px;
}
.filter-chip {
  padding: .5rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Nagłówek grupy tematycznej */
.group-head {
  grid-column: 1 / -1;
  margin: 24px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.group-head:first-child { margin-top: 0; }
.group-head h2 { font-size: 1.9rem; margin: 0; }
.group-head span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Producer cards */
.brand-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-flag {
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.brand-card h3 { font-size: 1.5rem; margin-bottom: .35em; }
.brand-card p { color: var(--muted); flex: 1; margin-bottom: 1rem; }
.brand-card a {
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
}
.brand-card a:hover { color: var(--navy); }

.record-meta {
  display: grid;
  gap: .35rem;
  margin: 0 0 1rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}
.record-meta div { display: flex; justify-content: space-between; gap: 1rem; }
.record-meta dt { color: var(--muted); }
.record-meta dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }

/* Detail page */
.detail { padding: 72px 0 96px; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.detail-media {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,29,51,.4));
  pointer-events: none;
}
.detail-prose h2 { font-size: 1.9rem; margin-top: 1.4rem; }
.detail-prose p { color: var(--muted); }
.detail-prose ul { color: var(--muted); padding-left: 1.2rem; margin: 0 0 1.2rem; }
.detail-prose li { margin-bottom: .4rem; }
.detail-aside {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.detail-aside h3 { font-size: 1.5rem; }
.spec { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 600; color: var(--navy); }
.detail-aside .price { margin: 0 0 1rem; }
.detail-aside .btn { width: 100%; }
.detail-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.article-meta {
  display: grid;
  gap: .3rem;
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  color: var(--muted);
  font-size: .82rem;
}
.article-meta p { margin: 0; }
.article-meta time { color: var(--navy); font-weight: 600; }
.article-meta + .detail-note {
  margin-top: .9rem;
  border: 1px solid rgba(194,160,90,.32);
}
.detail-note {
  margin-top: 56px; padding: 22px 26px;
  background: var(--cream); border-radius: var(--radius);
  color: var(--muted); font-size: .92rem;
}
.scope-note {
  margin-top: 40px; padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink); font-size: .95rem;
}
.scope-note strong { font-weight: 700; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

/* Link list (blog sources) */
.link-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.link-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.link-list a { color: var(--navy); font-weight: 600; }
.link-list a:hover { color: var(--gold); }
.link-host { color: var(--muted); font-weight: 400; font-size: .85rem; }

/* Map embed */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 0 0 16px; }
.map-embed iframe { display: block; width: 100%; height: 200px; border: 0; }

/* Blog posts */
.post-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.link-more { color: var(--navy); font-weight: 600; font-size: .9rem; }
.link-more:hover { color: var(--gold); }

/* CTA row under listings */
.cta-row {
  margin-top: 40px;
  padding: 30px 32px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}
.cta-row p { margin: 0; flex: 1 1 340px; color: var(--muted); }
.cta-row .btn { flex: 0 0 auto; }
.cta-row > div { flex: 1 1 340px; }
.cta-row > div p { flex: none; }


/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 40px 0; border-top: 2px solid var(--gold); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-brand { color: #fff; font-size: 1rem; font-family: var(--font-display); letter-spacing: .12em; }
.footer-contact, .footer-link { color: rgba(255,255,255,.75); }
.footer-contact:hover, .footer-link:hover { color: var(--gold-light); }

/* Responsive */
@media (max-width: 1120px) {
  .grid-2, .team-grid, .operator-data { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { min-height: 78px; height: auto; flex-wrap: wrap; }
  .nav { flex-basis: 100%; margin-left: 0; }
  .nav-links { flex-direction: column; align-items: stretch; gap: .4rem; padding: .8rem 0 1rem; }
  .nav a { padding: .4rem 0; white-space: normal; line-height: 1.25; }
  nav .nav-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin: .35rem 0 0;
  }
  .nav-actions .nav-cta { padding: .7rem .55rem; justify-content: center; text-align: center; }
  .nav .lang-switch {
    margin: .5rem 0 0;
    padding: .55rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .js .header-inner { position: relative; height: 78px; flex-wrap: nowrap; }
  .js .nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 1; padding: 0 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-toggle { display: inline-flex; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-inner--gateway { padding-top: 48px; padding-bottom: 56px; }
  .gateway-card { padding: var(--media-band) 1.2rem 1.3rem; }
  .page-hero { padding: 58px 0 52px; }
  .detail { padding: 48px 0 64px; }
  .record-meta div { align-items: flex-start; }
  nav .nav-actions { grid-template-columns: 1fr; }
}

/* Rozwijane listy materiałowe (details/summary) */
.detail-prose .mat-group { border-bottom: 1px solid var(--line); margin: 0; }
.detail-prose .mat-group > summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; line-height: 1.3; color: var(--navy);
  padding: .85rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.detail-prose .mat-group > summary::-webkit-details-marker { display: none; }
.detail-prose .mat-group > summary::after {
  content: "\203A"; color: var(--gold); font-size: 1.4rem; line-height: 1;
  transition: transform .2s ease; flex: 0 0 auto;
}
.detail-prose .mat-group[open] > summary::after { transform: rotate(90deg); }
.detail-prose .mat-group > summary:hover { color: var(--gold); }
.detail-prose .mat-group .spec { margin: 0 0 1rem; }
.detail-prose .mat-group[open] { padding-bottom: .2rem; }

/* Shared accessibility affordances */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 2px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn, .filter-chip { min-height: 44px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: .35rem;
  color: rgba(255,255,255,.6);
}
.filter-status { min-height: 1.65em; margin: -1.8rem 0 2rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Guest yacht listing and privacy */
.listing-layout {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.listing-aside { position: sticky; top: 110px; }
.listing-aside h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.listing-aside > p { color: var(--muted); }
.listing-aside ol {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: listing-step;
}
.listing-aside li {
  position: relative;
  padding-left: 2.9rem;
  color: var(--muted);
  counter-increment: listing-step;
}
.listing-aside li::before {
  content: counter(listing-step);
  position: absolute;
  left: 0;
  top: .2rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
}
.listing-aside li strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.listing-review-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.listing-review-note h3 { font-size: 1.35rem; }
.listing-review-note p { margin: 0; color: var(--muted); font-size: .92rem; }
.listing-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.listing-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.listing-form legend {
  padding: 0 .45rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.listing-form p { margin: 0; }
.listing-form label {
  display: grid;
  gap: .4rem;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.listing-form input:not([type="radio"]):not([type="checkbox"]),
.listing-form select,
.listing-form textarea {
  width: 100%;
  min-height: 44px;
  padding: .7rem .8rem;
  border: 1px solid rgba(10, 29, 51, .22);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.listing-form textarea { min-height: 9rem; resize: vertical; }
.listing-form input[type="file"] { padding: .55rem 0; border: 0; background: transparent; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid__full { grid-column: 1 / -1; }
.optional { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-help, .file-summary { display: block; margin-top: .45rem; color: var(--muted); font-size: .8rem; font-weight: 400; letter-spacing: normal; text-transform: none; }
.file-summary { min-height: 1.3rem; }
.course-switch { background: var(--cream) !important; }
.course-switch__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.course-switch__options label {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(10, 29, 51, .18);
  background: rgba(255,255,255,.72);
  cursor: pointer;
}
.course-switch__options input { margin-top: .2rem; accent-color: var(--navy); }
.course-switch__options strong { display: block; font-size: .9rem; }
.course-switch__options small { display: block; margin-top: .25rem; color: var(--muted); font-weight: 400; letter-spacing: normal; text-transform: none; }
.form-status { min-height: 1.65rem; color: #8a251c; font-weight: 600; }
.privacy-check label { grid-template-columns: auto 1fr; align-items: start; font-size: .82rem; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.privacy-check input { margin-top: .25rem; accent-color: var(--navy); }
.privacy-check a, .privacy-policy a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .18em; }
.publication-note { padding: 1rem 1.15rem; border-left: 3px solid var(--gold); background: var(--white); color: var(--muted); font-size: .9rem; }
.prose-container { max-width: 820px; }
.privacy-policy h2 { margin-top: 2rem; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.privacy-policy p { color: var(--muted); }
.privacy-policy strong { color: var(--ink); }
.policy-updated { color: var(--navy) !important; font-size: .88rem; font-weight: 600; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-aside { position: static; }
}
@media (max-width: 620px) {
  .listing-form { padding: 1rem; }
  .listing-form fieldset { padding: 1rem; }
  .form-grid, .course-switch__options { grid-template-columns: 1fr; }
}

/* Category actions and regional company directories */
[hidden] { display: none !important; }

.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.22);
}
.cat-actions .cat-link {
  display: inline-flex;
  flex: 1 1 12rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(224,196,131,.45);
}
.cat-actions .cat-link::after {
  content: "\2192";
  flex: 0 0 auto;
  font-size: 1rem;
}
.cat-actions .cat-link:hover {
  border-bottom-color: var(--gold-light);
  color: var(--white);
}
.cat-actions .cat-link:focus-visible {
  outline-color: var(--gold-light);
}

.directory-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background: var(--navy);
  color: var(--white);
}
.directory-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 28%, transparent 0 4.45rem, rgba(224,196,131,.18) 4.5rem 4.55rem, transparent 4.6rem),
    radial-gradient(circle at 82% 28%, transparent 0 7.45rem, rgba(224,196,131,.1) 7.5rem 7.55rem, transparent 7.6rem),
    repeating-linear-gradient(0deg, transparent 0 2.95rem, rgba(255,255,255,.055) 3rem),
    repeating-linear-gradient(90deg, transparent 0 2.95rem, rgba(255,255,255,.055) 3rem),
    linear-gradient(150deg, var(--navy), var(--navy-2));
}
.directory-hero::after {
  content: "";
  position: absolute;
  top: -35%;
  right: 18%;
  z-index: -1;
  width: 1px;
  height: 170%;
  background: rgba(224,196,131,.28);
  transform: rotate(32deg);
  transform-origin: center;
  pointer-events: none;
}
.directory-hero > * { position: relative; }
.directory-hero .kicker { color: var(--gold-light); }
.directory-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
}
.directory-hero p {
  max-width: 68ch;
  margin-bottom: 0;
  color: rgba(255,255,255,.84);
  font-size: 1.05rem;
}
.directory-hero a:focus-visible { outline-color: var(--gold-light); }

.directory-intro {
  max-width: 76rem;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}
.directory-intro > :last-child { margin-bottom: 0; }

.directory-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.directory-summary__item {
  min-width: 0;
  padding: 1rem 1.25rem;
  background: var(--cream);
}
.directory-summary__item > :first-child {
  display: block;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
}
.directory-summary__item > :last-child {
  display: block;
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.directory-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin: 0 0 2rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.directory-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .22em;
}
.directory-jump a:hover { color: var(--gold); }
.directory-jump a:focus-visible { outline-color: var(--navy); }

.directory-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.directory-control {
  display: grid;
  min-width: 0;
  gap: .4rem;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.directory-control input,
.directory-control select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .65rem .75rem;
  border: 1px solid rgba(10,29,51,.25);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.directory-control input:hover,
.directory-control select:hover { border-color: var(--gold); }
.directory-control input:focus-visible,
.directory-control select:focus-visible { outline-color: var(--navy); }
.directory-control input:disabled,
.directory-control select:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.directory-status {
  min-height: 1.65rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: .88rem;
}

.operator-directory {
  min-width: 0;
  padding-bottom: 5rem;
}
.operator-region {
  min-width: 0;
  margin-top: 3.5rem;
  scroll-margin-top: 7rem;
}
.operator-region:first-child { margin-top: 0; }
.operator-region__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
  padding: 0 0 .85rem;
  border-bottom: 2px solid var(--gold);
}
.operator-region__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}
.operator-region__head p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  text-align: right;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.operator-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-2);
  border-radius: var(--radius);
  background: var(--white);
}
.operator-card:hover { border-top-color: var(--gold); }
.operator-card__head {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: .85rem;
}
.operator-card__head h3 {
  min-width: 0;
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}
.operator-card__type {
  flex: 0 0 auto;
  max-width: 16rem;
  padding: .25rem .55rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream);
  color: var(--muted);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.operator-card__body {
  min-width: 0;
  flex: 1;
}
.operator-card__body > :last-child { margin-bottom: 0; }
.operator-card__body p {
  color: var(--ink);
  font-size: .92rem;
}
.operator-card__body a,
.operator-card__meta a,
.operator-card__sources a,
.operator-card__footer a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.operator-card__body a:hover,
.operator-card__meta a:hover,
.operator-card__sources a:hover,
.operator-card__footer a:hover { color: var(--gold); }

.operator-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem 1rem;
  margin: 0 0 .85rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.operator-card__meta > * {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.operator-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .75rem 0;
}
.operator-card__tags > * {
  max-width: 100%;
  padding: .18rem .5rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.operator-card__offer {
  margin: .85rem 0;
  color: var(--ink);
  font-size: .88rem;
}
.operator-card__offer ul {
  margin: .45rem 0 0;
  padding-left: 1.2rem;
}
.operator-card__price {
  margin: .85rem 0;
  padding: .65rem .8rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.operator-card__sources {
  margin-top: 1rem;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.operator-card__sources summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}
.operator-card__sources summary:hover { color: var(--navy); }
.operator-card__sources p,
.operator-card__sources ul { margin: .35rem 0 .65rem; }
.operator-card__sources ul { padding-left: 1.2rem; }

.operator-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
}
.operator-card__footer a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
}
.operator-card__body a:focus-visible,
.operator-card__meta a:focus-visible,
.operator-card__sources a:focus-visible,
.operator-card__sources summary:focus-visible,
.operator-card__footer a:focus-visible { outline-color: var(--navy); }

@media (max-width: 900px) {
  .directory-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operator-region__head { align-items: start; }
}

@media (max-width: 720px) {
  .directory-hero { padding: 3.5rem 0 3rem; }
  .directory-hero::after { right: 8%; }
  .operator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .directory-intro { padding-top: 3rem; }
  .directory-summary { grid-template-columns: 1fr; }
  .directory-jump { column-gap: 1rem; }
  .directory-controls { padding: 1rem; }
  .operator-region { margin-top: 2.75rem; }
  .operator-region__head {
    display: block;
    padding-bottom: .75rem;
  }
  .operator-region__head p {
    margin-top: .35rem;
    text-align: left;
  }
  .operator-card { padding: 1rem; }
  .operator-card__head { display: block; }
  .operator-card__type {
    display: inline-block;
    margin-top: .35rem;
  }
  .operator-card__meta { grid-template-columns: 1fr; }
}

/* Shared Market pathways */
.market-card-grid { gap: 20px; }
.market-card { min-height: 100%; }
.market-listing-actions .btn { min-height: 44px; }
.market-context { margin: 1.25rem 0 0; color: var(--muted); }
.market-context a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .18em; }
@media (min-width: 721px) {
  .market-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Jachty gateways and local contrast corrections */
.page-jachty .jachty-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2.4rem;
}
.page-jachty .jachty-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 220px;
  padding: clamp(1.25rem, 2.2vw, 1.7rem);
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px -34px rgba(0,0,0,.9);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.page-jachty .jachty-tile::before,
.page-jachty .jachty-tile::after {
  content: "";
  position: absolute;
  inset: 0;
}
.page-jachty .jachty-tile::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transition: transform .6s ease;
}
.page-jachty .jachty-tile::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,15,29,.48) 0%, rgba(4,15,29,.62) 48%, rgba(4,15,29,.96) 100%);
}
.page-jachty .tile-bg--cat::before { background-image: url("assets/img/cat.webp"); }
.page-jachty .tile-bg--motor::before { background-image: url("assets/img/motor.webp"); }
.page-jachty .tile-bg--classic::before { background-image: url("assets/img/classic.webp"); }
.page-jachty .tile-bg--hull::before { background-image: url("assets/img/hull.webp"); }
.page-jachty .tile-bg--teak::before { background-image: url("assets/img/teak.webp"); }
.page-jachty .tile-bg--wood::before { background-image: url("assets/img/wood.webp"); }
.page-jachty .tile-bg--sail::before { background-image: url("assets/img/sail.webp"); }
.page-jachty .tile-bg--engine::before { background-image: url("assets/img/engine.webp"); }
.page-jachty .tile-bg--winch::before { background-image: url("assets/img/winch.webp"); }
.page-jachty .tile-bg--marina::before { background-image: url("assets/img/marina.webp"); }
.page-jachty .jachty-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(242,214,154,.9);
  box-shadow: 0 36px 80px -34px rgba(0,0,0,.95);
}
.page-jachty .jachty-tile:hover::before { transform: scale(1.035); }
.page-jachty .jachty-tile .gateway-label,
.page-jachty .jachty-tile .gateway-link {
  color: #f2d69a;
  text-shadow: 0 1px 3px rgba(4,15,29,.9);
}
.page-jachty .jachty-tile .gateway-label { margin-bottom: .5rem; }
.page-jachty .jachty-tile h3 {
  max-width: 17ch;
  margin: 0 0 .45rem;
  color: var(--white);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  text-shadow: 0 2px 5px rgba(4,15,29,.95);
}
.page-jachty .jachty-tile .gateway-link { margin-top: .1rem; }
.page-jachty .jachty-tile:hover .gateway-link { color: #fff0bf; }
.page-jachty .jachty-card-grid .jachty-tile:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: -6px;
}
.page-jachty .section .kicker:not(.kicker--light) { color: #76551b; }
.page-jachty .directory-jump a:hover { color: #6f521a; }
.page-jachty .site-header :focus-visible,
.page-jachty .section :focus-visible { outline-color: var(--navy); }
.page-jachty .page-hero :focus-visible,
.page-jachty .site-footer :focus-visible { outline-color: var(--gold-light); }

@media (max-width: 1100px) {
  .page-jachty .jachty-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .page-jachty .jachty-card-grid { grid-template-columns: 1fr; }
  .page-jachty .jachty-tile { min-height: 220px; }
}

/* Strona główna — kafelki działów + boczna kolumna zgłoszeń */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
  margin-top: 2.4rem;
}
.home-gateway {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}
.home-gateway .gateway-card--market { grid-column: 1 / -1; }
.home-gateway .gateway-card--market,
.home-gateway .gateway-card--market::before,
.home-gateway .gateway-card--market::after { --media-max: 240px; }

.home-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,.16);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(10, 22, 30, .72);
}
.home-actions__title {
  margin: 0 0 .4rem;
  font-size: 1.6rem;
  color: var(--white);
}
.home-action {
  display: block;
  padding: .95rem 1.05rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: rgba(255,255,255,.05);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.home-action:hover {
  background: rgba(194,160,90,.18);
  border-color: rgba(224,196,131,.75);
  transform: translateX(3px);
}
.home-action__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .35rem;
}
.home-action__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .25rem;
}
.home-action__desc {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.home-actions__note {
  margin: .3rem 0 0;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.home-actions__note a { color: var(--gold-light); text-decoration: underline; }

@media (max-width: 1000px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-actions { order: -1; }
}

@media (max-width: 720px) {
  .home-gateway { grid-template-columns: 1fr; }
  .home-gateway .gateway-card--market { grid-column: auto; }
}

/* Checklisty pomocnicze — blok na uboczu, poza główną osią strony */
.section--sidenote { padding: 56px 0; }
.sidenote {
  max-width: 560px;
  margin: 0 0 40px;
  padding: 1.5rem 1.7rem;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.6);
  text-align: left;
}
.sidenote .kicker { margin-bottom: .5rem; }
.sidenote h2 {
  font-size: 1.55rem;
  margin-bottom: .8rem;
}
.sidenote ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}
.sidenote li { margin-bottom: .5rem; }
.sidenote li:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .sidenote { padding: 1.2rem 1.2rem; }
}

/* Karty ogłoszeń kupna i sprzedaży */
.listing-grid { gap: 20px; margin-bottom: 40px; }
.listing-card { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.listing-card--cta { border-top: 2px solid var(--gold); background: var(--cream); }
.listing-card .card-body h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.listing-card .btn { margin-top: .6rem; }
.listing-meta {
  margin: 0 0 1rem;
  display: grid;
  gap: .35rem;
}
.listing-meta > div {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: .35rem;
}
.listing-meta > div:last-child { border-bottom: 0; }
.listing-meta dt {
  flex: 0 0 34%;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.listing-meta dd { margin: 0; font-size: .95rem; color: var(--ink); }

@media (max-width: 860px) {
  .listing-grid { grid-template-columns: 1fr; }
}

/* Przełącznik wersji językowej */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: .5rem;
  padding-left: .6rem;
  border-left: 1px solid var(--line);
}
.lang-switch a {
  min-height: 32px;
  padding: 0 .35rem;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: .66rem;
}
.lang-switch a::after { display: none; }
.lang-switch a:hover { color: var(--gold); }
.lang-switch a[aria-current] {
  border-color: var(--gold);
  color: var(--gold);
}

/* Karty grup handlowych */
.group-grid { gap: 20px; }
.group-card .card-body { display: flex; flex-direction: column; }
.group-card h3 { font-size: 1.3rem; margin: .6rem 0 .5rem; }
.group-card .btn { margin-top: auto; align-self: flex-start; }
.group-card__own {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: .6rem;
  padding: .15rem .5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Punkty ostrości zdjęć — żeby jednostka mieściła się w pasie karty */
.media--sail    { background-position: 52% 66%; }
.media--motor   { background-position: center 46%; }
.media--marina  { background-position: center 62%; }
.media--wood    { background-position: center 42%; }
.media--hull    { background-position: center 58%; }
.media--teak    { background-position: center 55%; }
.media--engine  { background-position: center 45%; }
.media--classic { background-position: center 45%; }
.media--cat     { background-position: center; background-size: contain; background-color: #efece5; }
.cat-card.media--cat::before { background-size: contain; }
.media--interior { background-position: center 55%; }
.media--prop    { background-position: center 52%; }
.media--winch   { background-position: center 48%; }

.gateway-card--renewal::before { background-position: center 58%; }
.gateway-card--guides::before { background-position: center 55%; }
.gateway-card--charter::before { background-position: center 62%; }
.gateway-card--pioneers::before { background-position: center 46%; }

/* Galeria realizacji — porównania przed/po i etapy prac */
.project-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 48px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}
.project-meta > div { padding: 1rem 1.15rem; border-right: 1px solid var(--line); }
.project-meta > div:last-child { border-right: 0; }
.project-meta dt {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.project-meta dd { margin: 0; font-size: .95rem; color: var(--ink); }

.gallery-heading {
  margin: 0 0 20px;
  font-size: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line-strong);
}
.compare-grid { display: grid; gap: 40px; margin-bottom: 56px; }
.compare-pair { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compare-shot { position: relative; margin: 0; }
.compare-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.compare-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: .25rem .7rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(16, 28, 36, .88);
}
.compare-badge--after { background: var(--gold); }
.compare-pair figcaption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .88rem;
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.work-gallery figure { margin: 0; }
.work-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.work-gallery figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .88rem;
}
.gallery-note { color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-meta > div:nth-child(2) { border-right: 0; }
  .project-meta > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .compare-pair { grid-template-columns: 1fr; }
}

/* Lista realizacji */
.project-grid { gap: 24px; }
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}
.project-card:hover { border-color: var(--gold); background: var(--white); }
.project-card > img {
  display: block;
  width: 100%;
  aspect-ratio: var(--media-ratio);
  max-height: var(--media-max);
  object-fit: cover;
  border-bottom: 2px solid var(--gold);
}
.project-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-card__body h3 { font-size: 1.6rem; margin: .5rem 0; }
.project-card__body p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }
.project-card .cat-link { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.gallery-lead { color: var(--muted); margin: -8px 0 22px; max-width: 70ch; }
