/* ==========================================================================
   WISTERIA love of beauty, arkusz stylów
   Kolory pochodzą z logo: śliwkowy pąk, zielony liść, grafitowy napis.
   ========================================================================== */

/* ---------- Fonty (hostowane lokalnie, bez Google Fonts, zgodnie z RODO) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/jost-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/jost-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jost-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jost-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Zmienne ---------- */
:root {
  --plum: #7a2457;
  --plum-dark: #5c1a41;
  --plum-soft: #f3e4ec;
  --leaf: #1f5c3a;
  --leaf-soft: #e6efe9;
  --ink: #3b3739;
  --ink-strong: #262325;
  --muted: #6e686b;
  --line: #e7dcd8;
  --ivory: #fbf8f5;
  --blush: #f6ece8;
  --white: #ffffff;
  --error: #b3261e;
  --success: #1f5c3a;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-arch: 999px 999px 18px 18px;
  --shadow: 0 18px 50px -24px rgba(60, 25, 45, 0.35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 0.25vw + 15.2px, 18px);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-dark); }
strong, b { font-weight: 500; color: var(--ink-strong); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink-strong);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--plum-soft); color: var(--ink-strong); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.08rem, 0.6vw + 0.95rem, 1.3rem); color: var(--muted); max-width: 46ch; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .lead { margin-inline: auto; }
.script { font-family: var(--font-serif); font-style: italic; color: var(--plum); }

/* Ozdobnik, gałązka */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--leaf); margin: 0 auto 1.2rem; }
.divider::before, .divider::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.35; }
.divider svg { width: 22px; height: 22px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  border: 1px solid var(--plum); border-radius: 999px;
  background: var(--plum); color: #fff;
  font-family: var(--font-sans); font-weight: 400; font-size: 0.98rem; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--plum); }
.btn--light:hover { background: var(--plum-soft); border-color: var(--plum-soft); color: var(--plum-dark); }
.btn--small { min-height: 42px; padding: 8px 20px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow { font-weight: 400; text-decoration: none; letter-spacing: 0.03em; }
.link-arrow::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: 1px; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-strong); text-decoration: none; font-weight: 400; font-size: 0.98rem; letter-spacing: 0.03em;
}
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: var(--plum); }
.site-nav a.nav-link[aria-current="page"] { background: var(--plum-soft); }
.has-sub { position: relative; }
.has-sub > a.nav-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translate(-50%, 6px);
  min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 400; font-size: 0.95rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--blush); color: var(--plum); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink-strong);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s, background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: 78px 0 auto 0; max-height: calc(100vh - 78px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px var(--gutter) 32px; background: var(--ivory); border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,0.35);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .js .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a.nav-link { padding: 12px 6px; font-size: 1.1rem; border-radius: 10px; }
  .site-nav a.nav-link[aria-current="page"] { padding-inline: 14px; }
  .has-sub > a.nav-link::after { display: none; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 12px; min-width: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub a { padding: 7px 10px; color: var(--muted); }
  .site-nav .btn { align-self: flex-start; }
  /* bez JS: menu po prostu zawija się pod logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { width: 100%; flex-wrap: wrap; }
  html:not(.js) .site-nav > ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .sub { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 46px; }
  .brand-name { font-size: 1.3rem; }
  .brand-tag { font-size: 0.6rem; letter-spacing: 0.26em; }
}

/* ---------- Hero (strona główna) ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero-media { position: relative; justify-self: center; width: min(100%, 480px); }
.hero-media .arch { border-radius: var(--radius-arch); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero-media .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .bubble {
  position: absolute; left: -14%; bottom: 8%; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: var(--shadow);
}
.hero-media .bubble img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .since {
  position: absolute; right: -6%; top: 10%; background: #fff; border-radius: 999px; padding: 14px 22px; box-shadow: var(--shadow);
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.15; text-align: center; color: var(--ink-strong);
}
.hero-media .since strong { display: block; font-size: 1.9rem; color: var(--plum); font-weight: 600; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 400px); margin-top: 8px; }
  .hero-media .bubble { left: -6%; }
  .hero-media .since { right: -2%; }
}

/* ---------- Bloki tekst + obraz ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media.arch img { border-radius: var(--radius-arch); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 520px; }
}

/* ---------- Karty oferty ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: box-shadow 0.25s, transform 0.25s; text-decoration: none; color: inherit; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-body .link-arrow { color: var(--plum); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--plum); opacity: 0.85; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Mozaika zdjęć (zapowiedź galerii) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic a { display: block; overflow: hidden; border-radius: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 860px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: var(--plum); color: #fff; padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.86); margin: 0; max-width: 60ch; }
.cta .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero .lead { max-width: 52ch; }
.page-hero-media img { border-radius: var(--radius-arch); aspect-ratio: 4 / 5; object-fit: cover; width: min(100%, 420px); margin-left: auto; box-shadow: var(--shadow); }
.page-hero--simple { text-align: center; }
.page-hero--simple .lead { margin-inline: auto; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media img { margin: 0; width: min(100%, 360px); }
}
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--plum); }
.breadcrumbs span[aria-hidden] { margin-inline: 8px; opacity: 0.6; }

/* ---------- Treść (prose) ---------- */
.prose h2 { margin-top: 0.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 0.55em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.72em; width: 9px; height: 9px;
  border-radius: 0 60% 0 60%; background: var(--leaf); opacity: 0.75; transform: rotate(-10deg);
}
.prose ul ul { margin: 0.5em 0 0.2em; }
.prose ul ul li::before { background: var(--plum); border-radius: 50%; width: 6px; height: 6px; top: 0.8em; }
.offer-block { padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.offer-block:first-of-type { border-top: 0; }
figure { margin: 0; }
figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; font-style: italic; }
.note { background: var(--leaf-soft); border-radius: var(--radius); padding: 22px 26px; color: var(--ink); }
.note p:last-child { margin: 0; }

.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.related a { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; }
.related img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.related a:hover img { transform: scale(1.05); }
.related span { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(30, 15, 25, 0.75)); font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.15; }
@media (max-width: 980px) { .related { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .related { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 9px 18px; font: inherit; font-size: 0.95rem; font-weight: 400; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--plum); color: var(--plum); }
.filter-btn[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform 0.6s; }
.gallery-item a:hover img { transform: scale(1.03); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(22, 14, 19, 0.94); color: #fff;
}
.lightbox::backdrop { background: rgba(22, 14, 19, 0.94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,0.8); text-align: center; font-size: 0.92rem; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,0.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-inner { padding: 64px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Kontakt ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-size: 1.35rem; margin-bottom: 0.3em; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 400; word-break: break-word; }
.contact-card .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--plum-soft); color: var(--plum); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .icon svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Formularz ---------- */
.form { display: grid; gap: 26px; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--ink-strong); padding: 0; margin-bottom: 4px; }
.legend-help { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 400; font-size: 0.95rem; color: var(--ink-strong); }
.req { color: var(--plum); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-weight: 300; color: var(--ink-strong);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; box-shadow: 0 0 0 3px var(--plum-soft); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field .error { font-size: 0.88rem; color: var(--error); display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field.has-error .error { display: block; }

.choice-group { margin-top: 22px; }
.choice-group > .label { display: block; font-weight: 400; color: var(--ink-strong); margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 14px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: background 0.15s; line-height: 1.45; }
.choice:hover { background: var(--blush); }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }

.kind-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind-switch label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; background: var(--ivory); transition: all 0.2s; line-height: 1.4; }
.kind-switch label:hover { border-color: var(--plum); }
.kind-switch input { accent-color: var(--plum); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.kind-switch label:has(input:checked) { border-color: var(--plum); background: var(--plum-soft); }
.kind-switch strong { display: block; font-weight: 500; }
.kind-switch small { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 640px) { .kind-switch { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--plum); flex: none; }
.consent-field.has-error .consent { color: var(--error); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { border-radius: 14px; padding: 16px 20px; display: none; }
.form-status.is-error { display: block; background: #fbeceb; color: var(--error); }
.form-status.is-success { display: block; background: var(--leaf-soft); color: var(--success); }
.form-success { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; }
.form-success h2 { margin-bottom: 0.3em; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--blush); padding-block: 72px 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { width: 170px; margin-bottom: 16px; }
.site-footer h3 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--plum); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45em; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--plum); text-decoration: underline; }
.site-footer p { color: var(--muted); font-size: 0.95rem; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--plum); border: 1px solid var(--line); }
.social a:hover { background: var(--plum); color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .big { font-family: var(--font-serif); font-style: italic; font-size: clamp(5rem, 14vw, 9rem); color: var(--plum); line-height: 1; }

/* ---------- Animacje ---------- */
/* Klasę .reveal-on dodaje main.js, gdyby skrypt się nie załadował, treść pozostaje widoczna. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal-on .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.step-icon { width: 44px; height: 44px; color: var(--leaf); }
.step-icon svg { width: 100%; height: 100%; }

/* ---------- Klasy pomocnicze (zamiast atrybutów style, ścisła polityka CSP) ---------- */
.mx-auto { margin-inline: auto; }
.mt-22 { margin-top: 22px; }
.mt-32 { margin-top: 32px; }
.justify-center { justify-content: center; }
.section--tight { padding-top: 44px; }
.intro-note { max-width: 62ch; margin: 0 auto 32px; color: var(--muted); }
.consent-field .error { margin-top: 6px; }
