/* ==========================================================================
   Złota Myślówka — Arkusz stylów strony zlotamyslowka.pl
   Szlif wydawniczy • Granat #1F3A52 • Złoto #B47B2B • Papier #FAF7F2
   Czcionki lokalne: Lora (nagłówki) + Atkinson Hyperlegible (treść) • Zero cookies
   ========================================================================== */

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/atkinson-hyperlegible-400-latin-ext.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: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/atkinson-hyperlegible-400-latin.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: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/atkinson-hyperlegible-700-latin-ext.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: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/atkinson-hyperlegible-700-latin.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: "Lora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/lora-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/lora-latin.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;
}

:root {
  --bg: #FAF7F2;
  --bg-alt: #F3EFE6;
  --surface: #FFFFFF;
  --navy: #1F3A52;
  --navy-hover: #162B3D;
  --navy-soft: rgba(31, 58, 82, 0.055);
  --navy-soft-strong: rgba(31, 58, 82, 0.09);
  --gold: #B47B2B;
  --gold-hover: #9A6620;
  --gold-light: #DFB066;
  --gold-soft: rgba(180, 123, 43, 0.11);
  --ink: #1C242B;
  --ink-muted: #4C5A67;
  --on-dark: #FAF7F2;
  --on-dark-muted: #CBD5E1;
  --border: rgba(31, 58, 82, 0.12);
  --border-strong: rgba(31, 58, 82, 0.24);
  --border-subtle: rgba(31, 58, 82, 0.085);
  --success-bg: #EFF6F0;
  --success-border: #2E6B38;
  --success-ink: #1C4422;
  --error-bg: #FDF2F1;
  --error-border: #9E3026;
  --error-ink: #6D1D16;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(31, 58, 82, 0.06), 0 1px 3px rgba(31, 58, 82, 0.04);
  --shadow-card-hover: 0 16px 34px rgba(31, 58, 82, 0.11), 0 3px 8px rgba(31, 58, 82, 0.05);
  --shadow-sheet: 0 18px 40px rgba(31, 58, 82, 0.16), 0 4px 12px rgba(31, 58, 82, 0.08);
  --max-w: 1140px;
  --font-main: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.62;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gold-hover);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--on-dark);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.container--narrow {
  max-width: 820px;
}

/* ==========================================================================
   NAGŁÓWEK I NAWIGACJA
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 247, 242, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-logo:hover {
  color: var(--navy-hover);
}

/* Okrągły monogram ZM spójny z naffy-awatar.png */
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-dark);
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(31, 58, 82, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   PRZYCISKI I ODZNAKI
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-main);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  box-shadow: 0 4px 14px rgba(31, 58, 82, 0.18);
}

.btn-primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: var(--on-dark);
  box-shadow: 0 6px 18px rgba(31, 58, 82, 0.24);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-hover);
  color: var(--navy-hover);
}

.btn-outline-dark {
  background: var(--surface);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin: 0 0 12px;
}

.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ==========================================================================
   SEKCJE I TYPOGRAFIA
   ========================================================================== */

.section {
  padding: 76px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--navy {
  background: var(--navy);
  color: var(--on-dark);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.section--navy h2,
.section--navy h3 {
  color: var(--on-dark);
}

.section--navy .section-kicker {
  color: var(--gold-light);
}

.section--navy .section-kicker::before {
  background: var(--gold-light);
}

.section--navy .lead {
  color: var(--on-dark-muted);
}

.section--navy :focus-visible {
  outline-color: var(--gold-light);
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header--center .section-kicker {
  justify-content: center;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(32px, 4.1vw, 44px);
  line-height: 1.18;
}

h2 {
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.24;
}

h3 {
  font-size: 21.5px;
  line-height: 1.32;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 16px 0 0;
}

/* ==========================================================================
   HERO (STRONA GŁÓWNA)
   ========================================================================== */

.hero {
  padding: 60px 0 74px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions--stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 468px;
}

.hero-actions--stack .btn {
  width: 100%;
}

.hero-direct-pdf {
  margin: 16px 0 0;
  font-size: 15.5px;
  color: var(--ink-muted);
}

.hero-direct-pdf a {
  font-weight: 700;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--ink-muted);
  font-weight: 700;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Kompozycja kart A4 po prawej stronie Hero z ciepłą poświatą kompozycyjną */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 454px;
  padding: 26px 18px 30px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 82% 76% at 50% 48%, rgba(180, 123, 43, 0.16) 0%, rgba(235, 224, 206, 0.55) 54%, rgba(250, 247, 242, 0) 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px solid rgba(180, 123, 43, 0.24);
  background: rgba(243, 239, 230, 0.55);
  pointer-events: none;
}

.hero-sheet-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 428px;
  z-index: 1;
}

.hero-sheet {
  position: absolute;
  border: 1.5px solid rgba(31, 58, 82, 0.16);
  background: var(--surface);
  padding: 5px;
  border-radius: 5px;
  box-shadow: var(--shadow-sheet);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.hero-sheet img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-sheet--back-left {
  width: 56%;
  left: 0;
  top: 44px;
  transform: rotate(-6deg);
  z-index: 1;
}

.hero-sheet--back-right {
  width: 56%;
  right: 0;
  top: 54px;
  transform: rotate(6.5deg);
  z-index: 2;
}

.hero-sheet--front {
  width: 64%;
  left: 18%;
  top: 4px;
  transform: rotate(-0.8deg);
  z-index: 3;
}

.hero-sheet:hover {
  z-index: 5;
  border-color: var(--gold);
  box-shadow: 0 22px 46px rgba(31, 58, 82, 0.22);
}

.hero-sheet--front:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-visual-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(31, 58, 82, 0.08);
}

/* ==========================================================================
   SIATKI KAFELKÓW — CO W ZESTAWIE
   ========================================================================== */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-num {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(180, 123, 43, 0.28);
  color: var(--gold-hover);
  font-size: 14px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.56;
}

.feature-card--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
}

.feature-card--wide .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   3 POZIOMY TRUDNOŚCI + KONTRASTOWA KARTA ERGONOMII (#1F3A52)
   ========================================================================== */

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.level-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.level-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.level-dots svg {
  width: 58px;
  height: 16px;
  display: block;
}

.level-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16.5px;
}

/* Ciemnogranatowa karta kontrastowa dla 4 filarów ergonomii */
.ergo-bar {
  margin-top: 30px;
  background: var(--navy);
  color: var(--on-dark);
  border: 1px solid rgba(250, 247, 242, 0.10);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  box-shadow: 0 14px 34px rgba(31, 58, 82, 0.16);
}

.ergo-item {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(180, 123, 43, 0.55);
}

.ergo-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17.5px;
  color: var(--on-dark);
  margin-bottom: 6px;
}

.ergo-item span {
  display: block;
  font-size: 15px;
  color: var(--on-dark-muted);
  line-height: 1.5;
}

/* ==========================================================================
   GALERIA 5 PODGLĄDÓW (SIATKA 3 + 2 WYŚRODKOWANE NA DESKTOPIE) + LIGHTBOX
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.preview-card {
  grid-column: span 2;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
  font-family: var(--font-main);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.preview-card:nth-child(4) {
  grid-column: 2 / 4;
}

.preview-card:nth-child(5) {
  grid-column: 4 / 6;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card-hover);
}

.preview-thumb {
  border: 1px solid var(--border);
  background: #FFFFFF;
  overflow: hidden;
  border-radius: 6px;
}

.preview-thumb img {
  width: 100%;
  aspect-ratio: 210 / 297;
  object-fit: cover;
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.preview-zoom-hint {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-card:hover .preview-zoom-hint {
  color: var(--navy);
}

/* Lightbox modal */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 32, 46, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-dialog {
  position: relative;
  background: var(--bg);
  border: 1.5px solid rgba(180, 123, 43, 0.45);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.lightbox-caption {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.lightbox-close {
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--navy);
  color: var(--on-dark);
}

.lightbox-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  background: var(--bg-alt);
}

.lightbox-body img {
  max-height: calc(94vh - 148px);
  width: auto;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sheet);
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.lightbox-nav-btn {
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-nav-btn:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.lightbox-counter {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ==========================================================================
   CENNIK (2 KARTY OBOK SIEBIE)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Subtelne górne granatowo-złote wyróżnienie rekomendowanej karty */
.price-card--featured {
  border: 1.5px solid rgba(31, 58, 82, 0.28);
  box-shadow: 0 14px 36px rgba(31, 58, 82, 0.10), 0 2px 6px rgba(31, 58, 82, 0.05);
}

.price-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 64%, var(--gold) 64%, var(--gold) 100%);
}

.price-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(180, 123, 43, 0.28);
  color: var(--gold-hover);
  font-size: 14px;
  font-weight: 700;
}

.price-card--featured .price-badge {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-value {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.price-unit {
  font-size: 16px;
  color: var(--ink-muted);
}

.price-vat {
  font-size: 15px;
  color: var(--ink-muted);
  margin: -10px 0 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 16.5px;
  line-height: 1.5;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-hover);
  font-size: 13px;
  font-weight: 700;
}

.price-card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card-footer .btn {
  width: 100%;
}

/* ==========================================================================
   FAQ (NATYWNE <details> / <summary>)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(31, 58, 82, 0.04);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}

.faq-answer {
  padding: 16px 24px 22px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.64;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   PODSTRONA /PLACOWKI/ — HERO 2-KOLUMNOWY, KROKI GRANATOWE I FORMULARZ
   ========================================================================== */

.page-hero {
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 44px;
  align-items: center;
}

.page-hero-inner {
  max-width: 720px;
}

/* Prawa kolumna Hero na /placowki/ — zwarta granatowa karta podsumowująca */
.summary-dark-card {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  padding: 30px 28px;
  box-shadow: 0 18px 40px rgba(31, 58, 82, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.summary-dark-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}

.summary-dark-card h2 {
  font-size: 23px;
  line-height: 1.28;
  color: var(--on-dark);
  margin: 0;
}

.summary-dark-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.summary-dark-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 16px;
  line-height: 1.48;
  color: var(--on-dark);
}

.summary-dark-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(180, 123, 43, 0.22);
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
}

/* Sekcja 3 kroków w ciemnym granacie */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-dark);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.step-card h3 {
  color: var(--on-dark);
}

.step-card p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 16.5px;
  line-height: 1.56;
}

/* Formularz zamówienia */
.order-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
  max-width: 840px;
  margin: 0 auto;
}

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

.form-legend {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0 10px;
  margin: 0 0 18px;
  border-bottom: 1.5px solid var(--border);
  width: 100%;
}

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

.variant-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.variant-option:hover {
  border-color: var(--navy);
}

.variant-option:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy-soft);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.variant-option input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.variant-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.variant-sub {
  display: block;
  font-size: 15px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.field-hint {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.4;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 58, 82, 0.16);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 18px;
}

.checkbox-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.checkbox-row span {
  font-size: 16px;
  line-height: 1.48;
  color: var(--ink);
}

.recipient-box[hidden] {
  display: none;
}

.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-size: 16.5px;
  line-height: 1.55;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-ink);
}

.form-status--error {
  background: var(--error-bg);
  border-color: var(--error-border);
  color: var(--error-ink);
}

.mail-alt-note {
  max-width: 840px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 16.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   DOKUMENTY FORMALNE (/REGULAMIN/, /POLITYKA-PRYWATNOSCI/) I 404
   ========================================================================== */

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 42px 44px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: clamp(28px, 3.6vw, 36px);
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 15.5px;
  color: var(--ink-muted);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-card h2 {
  font-size: 22px;
  margin: 30px 0 12px;
  color: var(--navy);
}

.legal-card p,
.legal-card li {
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink);
}

.legal-card ul,
.legal-card ol {
  padding-left: 24px;
  margin: 10px 0 16px;
}

.legal-card li {
  margin-bottom: 6px;
}

.not-found-box {
  max-width: 620px;
  margin: 68px auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 48px 34px;
  box-shadow: var(--shadow-card);
}

.not-found-code {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin: 0 0 12px;
}

/* ==========================================================================
   STOPKA (CIEMNOGRANATOWA #1F3A52 ZE ZŁOTĄ LINIĄ U GÓRY)
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  border-top: 3px solid var(--gold);
  padding: 48px 0 38px;
  margin-top: 0;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer :focus-visible {
  outline-color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 44px;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--on-dark);
  margin: 0 0 8px;
}

.footer-contact {
  margin: 0 0 12px;
  font-size: 16.5px;
  color: var(--on-dark-muted);
}

.footer-contact a {
  color: var(--on-dark);
  font-weight: 700;
  text-decoration-color: var(--gold-light);
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--on-dark-muted);
  max-width: 560px;
}

.footer-links {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links li {
  white-space: nowrap;
}

.footer-links a {
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--on-dark);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  font-size: 14.5px;
  color: var(--on-dark-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   RESPONSYWNOŚĆ (TABLET I TELEFON 390 PX)
   ========================================================================== */

@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-sheet-stack {
    max-width: 380px;
    height: 370px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card--wide {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .preview-card,
  .preview-card:nth-child(4),
  .preview-card:nth-child(5) {
    grid-column: auto;
  }

  .preview-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .ergo-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1.5px solid var(--border);
    padding: 16px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(31, 58, 82, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 10px 4px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-cta {
    margin-top: 6px;
    min-height: 48px;
  }

  .levels-grid,
  .pricing-grid,
  .variant-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 52px 0;
  }

  .hero,
  .page-hero {
    padding: 36px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
    padding: 18px 10px 24px;
  }

  .hero-sheet-stack {
    max-width: 320px;
    height: 310px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .preview-card,
  .preview-card:nth-child(4),
  .preview-card:nth-child(5) {
    grid-column: auto;
    max-width: 380px;
    width: 100%;
    justify-self: center;
  }

  .ergo-bar {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .summary-dark-card {
    padding: 24px 20px;
  }

  .order-form-card,
  .legal-card {
    padding: 24px 18px;
  }

  .price-card {
    padding: 26px 20px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 17px;
  }

  .faq-answer {
    padding: 14px 18px 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
