/* Elektroniczne Repertorium Tłumacza – strona programu (wersja desktop). */

:root {
  --navy-900: #0b1426;
  --navy-800: #0f1b33;
  --navy-700: #17284a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-50: #eff5ff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --amber-50: #fffaeb;
  --amber-300: #fcd34d;
  --amber-800: #92400e;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.25);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

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

.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ nagłówek */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 38, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  color: #fff;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--blue-600);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-tag {
  color: #94a3b8;
  font-size: 0.78rem;
}

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

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--blue-600);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--blue-700);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

@media (max-width: 960px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    top: -6px;
  }

  .nav-toggle-label span::after {
    top: 6px;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 3px solid var(--blue-600);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 16px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.92rem;
  }
}

/* ------------------------------------------------------------ przyciski */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: var(--bg-soft);
}

.btn-light {
  background: #fff;
  color: var(--blue-700);
}

.btn-light:hover {
  background: var(--blue-50);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37, 99, 235, 0.45), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #cbd5e1;
}

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

/* strona główna domeny (start.html): hero bez zrzutu ekranu */
.hero-inner-single {
  grid-template-columns: minmax(0, 760px);
}

.hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.hero .eyebrow {
  color: #7fb0ff;
}

.hero .lead {
  margin: 0 0 28px;
  font-size: 1.08rem;
}

.hero .lead b {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.hero-note a {
  color: #9cc3ff;
}

.hero-shot {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero-shot:hover {
  transform: none;
}

.hero-shot img {
  display: block;
  width: 100%;
}

.window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #e8edf4;
}

.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-shot {
    transform: none;
  }
}

/* nagłówek podstron */

.page-hero {
  padding: 48px 0 44px;
  background:
    radial-gradient(700px 260px at 90% -20%, rgba(37, 99, 235, 0.4), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #cbd5e1;
}

.page-hero .eyebrow {
  color: #7fb0ff;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
}

.page-hero .lead {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.page-hero .lead b {
  color: #fff;
}

/* ------------------------------------------------------------ sekcje */

.page-body {
  padding-top: 48px;
  padding-bottom: 80px;
}

.section {
  padding: 80px 0;
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.section-title {
  margin: 56px 0 8px;
  font-size: 1.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: #c7d7f5;
  box-shadow: var(--shadow);
}

.feature-icon {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.feature h3 {
  margin: 4px 0 4px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 60%, #3b82f6);
  color: #dbeafe;
}

.cta-band h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0;
}

/* ------------------------------------------------------------ galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-single {
  grid-template-columns: minmax(0, 420px);
}

.shot {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.shot span {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ------------------------------------------------------------ karty */

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-muted {
  background: var(--bg-soft);
  box-shadow: none;
}

.card-muted p {
  margin: 0 0 8px;
}

.card-muted p:last-child {
  margin: 0;
}

.download-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid #c7d7f5;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--blue-50));
}

.download-card + .download-card {
  margin-top: 16px;
}

.download-card p {
  margin: 0;
}

.download-title {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.callout {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--blue-600);
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--ink);
}

.callout-warning {
  border-left-color: #f59e0b;
  background: var(--amber-50);
  color: var(--amber-800);
}

.callout code,
.checksums dd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.checksums {
  margin: 12px 0;
}

.checksums dt {
  font-weight: 600;
}

.checksums dd {
  margin: 0 0 8px;
}

/* ------------------------------------------------------------ cennik */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 48px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* karty o różnej długości list: przyciski w jednej linii */
.pricing-versions .btn-block {
  margin-top: auto;
}

.price-card-featured {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow);
}

.price-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.price {
  margin: 12px 0 20px;
}

.price .amount {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price .unit {
  color: var(--muted);
}

.price .gross {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card .checklist {
  flex: 1;
  margin-bottom: 28px;
}

.badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.checklist {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 5px 0 5px 30px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* ------------------------------------------------------------ treść */

.content {
  min-width: 0;
  max-width: 760px;
  font-size: 1.02rem;
}

.content-narrow {
  margin: 0 auto;
}

.content > :first-child {
  margin-top: 0;
}

.content h2 {
  margin: 40px 0 12px;
  font-size: 1.3rem;
  scroll-margin-top: 90px;
}

.content ul:not(.checklist) {
  padding-left: 22px;
}

.content li {
  margin: 6px 0;
}

.legal {
  font-size: 0.98rem;
}

.legal h2 {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.with-sidebar {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.side-nav-title {
  margin: 0 0 8px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.side-nav a:hover {
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.side-nav a[aria-current="page"] {
  background: #fff;
  color: var(--blue-700);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
  .with-sidebar {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .side-nav {
    position: static;
  }
}

.pager {
  display: flex;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pager-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pager-link:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.pager-next {
  margin-left: auto;
  text-align: right;
}

.pager-dir {
  color: var(--muted);
  font-size: 0.82rem;
}

.pager-prev .pager-dir::before {
  content: "← ";
}

.pager-next .pager-dir::after {
  content: " →";
}

.pager-label {
  color: var(--ink);
  font-weight: 600;
}

.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: #c7d7f5;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 16px;
}

.faq details p + p {
  padding-top: 0;
}

.settings-list {
  margin: 0;
}

.settings-list > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.settings-list dt {
  color: var(--ink);
  font-weight: 600;
}

.settings-list dd {
  margin: 4px 0 0;
}

/* ------------------------------------------------------------ pobieranie */

.steps {
  counter-reset: step;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step-text {
  position: relative;
  padding-left: 56px;
}

.step-text::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
}

.step-text h3 {
  margin: 4px 0 6px;
}

.step-text p {
  margin: 0;
}

.step-shot {
  display: block;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-shot img {
  display: block;
  width: 100%;
}

@media (max-width: 760px) {
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.changelog {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.release {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

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

.version {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.9rem;
}

.release ul {
  margin: 0;
  padding-left: 20px;
}

.release li {
  margin: 4px 0;
}

@media (max-width: 640px) {
  .release {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ------------------------------------------------------------ kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 760px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.contact-card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.contact-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-value {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ formularz */

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.order-info {
  display: grid;
  gap: 20px;
}

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

.form h2 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-row-postal {
  grid-template-columns: 9rem 1fr;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 12px center / 18px no-repeat;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

.invoice-data {
  margin: 0 0 18px;
  padding: 20px;
  border: 2px solid var(--amber-300);
  border-radius: var(--radius);
  min-width: 0;
}

.invoice-data legend {
  padding: 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.invoice-data-note {
  margin: 4px 0 20px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.invoice-preview {
  padding: 14px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 0.92rem;
}

.invoice-preview[hidden] {
  display: none;
}

.invoice-preview-title {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 600;
}

.invoice-preview-body {
  margin: 0;
  color: var(--ink);
  white-space: pre-line;
}

@media (max-width: 560px) {
  .invoice-data {
    padding: 16px 12px;
  }
}

.field-check {
  display: flex;
  gap: 12px;
  margin: 8px 0 20px;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.field-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-600);
}

.cf-turnstile {
  margin-bottom: 20px;
}

.form-output {
  margin: 16px 0 0;
  color: var(--blue-700);
  font-weight: 600;
}

.form-output:empty {
  display: none;
}

.mini-steps {
  margin: 0;
  padding-left: 20px;
}

.mini-steps li {
  margin: 10px 0;
}

/* ------------------------------------------------------------ stopka */

.site-footer {
  padding: 36px 0;
  background: var(--navy-900);
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .card,
  .price-card {
    padding: 22px;
  }

  .download-card,
  .cta-band {
    padding: 24px;
  }

  .download-card .btn,
  .cta-band .btn {
    width: 100%;
  }
}

/* Podgląd zrzutów ekranu (js/galeria.js) */
.lb {
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lb::backdrop {
  background: rgba(11, 20, 38, 0.85);
}

.lb figure {
  margin: 0;
  text-align: center;
}

.lb img {
  display: block;
  max-width: 92vw;
  max-height: 84vh;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg);
}

.lb figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 0.95rem;
}

.lb button {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font: 400 2rem/1 var(--font);
  cursor: pointer;
}

.lb button:hover,
.lb button:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.lb .lb-close {
  top: 16px;
  right: 16px;
}

.lb .lb-prev,
.lb .lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb .lb-prev {
  left: 16px;
}

.lb .lb-next {
  right: 16px;
}

.lb button[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-shot {
    transform: none;
  }
}
