:root {
  --black: #080808;
  --black-soft: #111111;
  --gold: #d5a642;
  --gold-light: #f1cf76;
  --cream: #f7f3ea;
  --white: #ffffff;
  --text: #1d1d1d;
  --muted: #666666;
  --border: #e5dfd2;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
ul { padding-left: 20px; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid rgba(213, 166, 66, 0.25);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height:78px;
  padding:10px 0;
  gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    height: 70px;   /* dopasuj według uznania */
    width: auto;
    display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #f7ecd0;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links a:hover { color: var(--gold-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #111;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(213, 166, 66, 0.2);
}

.btn.outline {
  background: transparent;
  color: var(--gold-light);
}

.social-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    color:var(--gold-light);
    font-size:1.45rem;
    transition:.25s;
}

.social-link:hover{
    color:var(--gold);
    transform:scale(1.08);
}

.social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero {
  background:
    radial-gradient(circle at 75% 25%, rgba(213,166,66,0.22), transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.92) 50%, rgba(0,0,0,0.72) 100%);
  color: var(--white);
  min-height: 620px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(213,166,66,.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 36px 0 64px;
}

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom:8px;
}

.eyebrow.dark-text { color: #947021; }

h1, h2, h3 { line-height: 1.12; margin: 0; }

h1 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
    text-transform: uppercase;
    max-width: 600px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

h1 span, h2 span { color: var(--gold-light); }

.section:not(.dark) h2 span { color: var(--gold); }

.hero p {
  font-size: 21px;
  max-width: 610px;
  color: #efe6d0;
  margin: 22px 0 30px;
}

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

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.feature {
  border-top: 1px solid rgba(213,166,66,0.35);
  padding-top: 16px;
  color: #f1eadb;
  font-size: 13px;
}

.feature b { color: var(--gold-light); display: block; margin-bottom: 4px; }

.photo-placeholder {
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px dashed rgba(213,166,66,0.72);
  background:
    linear-gradient(135deg, rgba(213,166,66,0.12), rgba(255,255,255,0.03)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 12px, transparent 12px 24px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  color: var(--gold-light);
}

.photo-placeholder span { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.photo-placeholder small { color: #d8c79f; }

/* Zdjęcie w sekcji hero */
.hero-photo {
  height: 460px;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.large-photo {
  height: 460px;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.large-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.audience-strip {
  background: var(--gold);
  color: #111;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.audience-grid div {
  padding: 19px 12px;
  text-align: center;
  font-weight: 800;
  border-right: 1px solid rgba(0,0,0,0.15);
}

.audience-grid div:last-child { border-right: 0; }

section { scroll-margin-top: 90px; }

.section {
    padding: 96px 0;
    background: var(--white);
}

.section.alt { background: var(--cream); }
.section.dark { background: var(--black-soft); color: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.centered-head { justify-content: center; text-align: center; }

h2 { font-size: clamp(30px, 4vw, 46px); }

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
}

.dark .section-head p { color: #cfc7b7; }

.cards,
.language-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.language-card,
.price,
.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.04);
}

.card h3,
.language-card h3,
.price h3,
.mini-card h3,
.equipment-item h3 { font-size: 22px; margin-bottom: 12px; }

.card p,
.mini-card p,
.price p { color: var(--muted); margin: 0; }

.language-card { position: relative; overflow: hidden; }
.language-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -50px;
  top: -50px;
  background: rgba(213,166,66,0.12);
}

.language-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--black);
  color: var(--gold-light);
  font-weight: 900;
  margin-bottom: 20px;
}

.language-lead { color: #8a671c; font-weight: 700; }
.language-card ul { color: var(--muted); padding-left: 18px; }
.language-card li { margin-bottom: 7px; }
.text-link { color: #8a671c; font-weight: 800; }

.audience-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.mini-card { padding: 22px; }
.mini-card h3 { font-size: 19px; }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.equipment-item {
  padding: 24px;
  border: 1px solid rgba(213,166,66,0.24);
  border-radius: 14px;
  background: #171717;
}

.equipment-item h3 { color: var(--gold-light); font-size: 19px; }
.equipment-item p { margin: 0; color: #d6cfbf; }

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid .photo-placeholder { min-height: 190px; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

.coffee-box {
  border-left: 5px solid var(--gold);
  background: var(--cream);
  border-radius: 12px;
  padding: 22px;
}

.coffee-box h3 { margin-bottom: 8px; }
.coffee-box p { margin: 0; color: var(--muted); }

.benefits-band {
  padding: 70px 0;
  background: var(--black);
  color: var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.benefit-grid div {
  border-top: 2px solid var(--gold);
  padding: 18px 10px 0;
  text-align: center;
  color: #efe6d0;
  font-weight: 700;
}

.schedule-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  text-align: center;
  font-size: 14px;
}

th {
  background: var(--black);
  color: var(--gold-light);
  padding: 14px 10px;
  text-transform: uppercase;
  font-size: 12px;
}

td {
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 18px 10px;
}

td:first-child {
  font-weight: 800;
  color: #111;
  background: #fbf8ef;
}

.price strong {
  display: block;
  font-size: 34px;
  margin: 18px 0;
  color: var(--gold);
}

.cta-section {
  background: linear-gradient(135deg, #16130d, #080808);
  color: var(--white);
  padding: 54px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-inner p { color: #d6cfbf; margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.contact-box {
  background: #171717;
  border: 1px solid rgba(213,166,66,0.25);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-line {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #f4ead2;
}

.contact-line a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-line a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-line:last-child { border-bottom: 0; }

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: white;
  border-radius: var(--radius);
  padding: 28px;
}

input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d9d2c5;
  border-radius: 8px;
  font: inherit;
}

textarea, form .full { grid-column: 1 / -1; }
textarea { min-height: 120px; resize: vertical; }

footer {
  background: #050505;
  color: #d9c28a;
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.form-status.is-success {
  color: #26733d;
}

.form-status.is-error {
  color: #9b2c2c;
}

form button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

@media (max-width: 1020px) {
  .nav-inner { align-items: flex-start; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; gap: 10px 15px; }
  .nav-links .btn { display: none; }
  .audience-cards { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .split-layout { grid-template-columns: 1fr; }

  .hero-photo {
    height: 360px;
  }
  .features,
  .cards,
  .language-grid,
  .price-grid,
  .equipment-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .audience-grid { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .audience-strip { overflow: hidden; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1120px); }
  .brand { letter-spacing: 3px; }
  .nav-inner { display: block; }
  .nav-links { margin-top: 14px; justify-content: flex-start; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 48px 0; gap: 28px; }
  .hero-photo { height: 280px; }
  .hero p { font-size: 16px; }

  .features,
  .cards,
  .language-grid,
  .price-grid,
  .equipment-grid,
  .audience-cards,
  .gallery-grid,
  .benefit-grid { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }
  .audience-grid { display: flex; overflow-x: auto; }
  .audience-grid div { min-width: 155px; }
  .cta-inner { display: block; }
  .cta-inner .btn { margin-top: 22px; }
  form { grid-template-columns: 1fr; padding: 20px; }
}

#schedule-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  margin: 0 0 14px;
  color: #6b6458;
  font-size: 14px;
}

.schedule-loader {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(213, 166, 66, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: schedule-spin 0.8s linear infinite;
}

.schedule-loader-text {
  font-weight: 700;
}

@keyframes schedule-spin {
  to {
    transform: rotate(360deg);
  }
}

#schedule-status.is-error {
  color: #9b2c2c;
}

.schedule-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobilny grafik według dni tygodnia */

.schedule-mobile {
  display: none;
}

@media (max-width: 760px) {
  .schedule-wrap {
    display: none;
  }

  .schedule-mobile {
    display: grid;
    gap: 16px;
  }

  .schedule-day {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
  }

  .schedule-day-title {
    margin: 0;
    padding: 15px 18px;
    background: var(--black);
    color: var(--gold-light);
    font-size: 17px;
    text-align: center;
    text-transform: uppercase;
  }

  .schedule-day-lessons {
    display: grid;
  }


  .schedule-lesson-time {
    font-weight: 800;
    color: var(--text);
  }

}

@media (max-width: 420px) {
  .schedule-day-title {
    padding: 13px 14px;
    font-size: 16px;
  }

}

/* Wiele zajęć w jednej godzinie */

.schedule-entries {
  display: grid;
  gap: 8px;
}

.schedule-entry {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fbf8ef;
  text-align: left;
}

.schedule-entry-name {
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.schedule-entry-room {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.schedule-empty {
  color: #aaa;
}

.schedule-time-group {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.schedule-time-group:first-child {
  border-top: 0;
}

.schedule-mobile-entries {
  display: grid;
  gap: 8px;
}

.schedule-mobile-entry {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

@media (max-width: 420px) {
  .schedule-time-group {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .schedule-entry-name {
    font-size: 14px;
  }

  .schedule-mobile-entry {
    padding: 9px 10px;
  }
}

#price-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  margin: 0;
  color: #6b6458;
  font-size: 14px;
}

#price-status.is-error {
  min-height: auto;
  padding: 22px;
  border: 1px solid #e7c9c9;
  border-radius: var(--radius);
  background: #fff7f7;
  color: #9b2c2c;
  text-align: center;
}

.price-loader {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 3px solid rgba(213, 166, 66, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: price-spin 0.8s linear infinite;
}

.price-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

@keyframes price-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Aktualności */

#news-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 140px;
  color: #6b6458;
  font-size: 14px;
}

#news-status.is-error {
  min-height: auto;
  padding: 20px;
  border: 1px solid #e7c9c9;
  border-radius: var(--radius);
  background: #fff7f7;
  color: #9b2c2c;
  text-align: center;
}

.news-loader {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 3px solid rgba(213, 166, 66, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: news-spin 0.8s linear infinite;
}

.news-loader-text {
  font-weight: 700;
}

@keyframes news-spin {
  to {
    transform: rotate(360deg);
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.news-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.news-image {
  height: 210px;
  overflow: hidden;
  background: #eee8dc;
}

.news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-card-body {
  padding: 25px;
}

.news-date {
  display: block;
  margin-bottom: 9px;
  color: #947021;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.news-card h3 {
  margin-bottom: 13px;
  font-size: 22px;
}

.news-excerpt,
.news-details p {
  margin: 0;
  color: var(--muted);
}

.news-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.news-toggle {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a671c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.news-toggle:hover {
  color: var(--black);
  text-decoration: underline;
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.opening-hours {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.opening-hours div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opening-hours span {
    color: var(--gold-light);
}

.opening-hours strong {
    color: var(--gold-light);
    font-weight: 600;
}

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

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

  .news-image {
    height: 220px;
  }

  .news-card-body {
    padding: 22px;
  }
}

/* Informacja przy sekcjach z danymi dynamicznymi */

.dynamic-note {
  margin: -16px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.dynamic-note::before {
  content: "ⓘ";
  margin-right: 7px;
  color: var(--gold);
  font-weight: 800;
}

.dark .dynamic-note {
  color: #cfc7b7;
}

@media (max-width: 620px) {
  .dynamic-note {
    margin-top: -10px;
    font-size: 12px;
  }
}


/* Responsywne menu */

.nav-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(213, 166, 66, 0.45);
  border-radius: 8px;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  user-select: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-checkbox:checked + .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-checkbox:checked + .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-checkbox:checked + .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1020px) {
  .nav-inner {
    position: relative;
    min-height: 78px;
    padding: 10px 0;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: -16px;
    right: -16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(8, 8, 8, 0.99);
    border-bottom: 1px solid rgba(213, 166, 66, 0.25);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  }

  .nav-checkbox:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
  }

  .nav-links .btn {
    display: inline-flex;
    margin-top: 12px;
    border-bottom: 1px solid var(--gold);
  }

  .nav-links .social-link {
    width: 46px;
    height: 46px;
    margin-top: 8px;
    padding: 0;
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .nav-inner {
    display: flex;
  }

  .nav-links {
    margin-top: 0;
    justify-content: initial;
    font-size: 13px;
  }

  .brand img {
    height: 58px;
  }
}


/* Lewitujący przycisk powrotu na górę */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(213, 166, 66, 0.65);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.94);
  color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(213, 166, 66, 0.35);
  outline-offset: 4px;
}

.back-to-top svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 620px) {
  .back-to-top {
    right: 18px;
    bottom: 22px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

@media (max-width: 900px) {
  .large-photo {
    height: 420px;
  }
}

@media (max-width: 620px) {
  .large-photo {
    height: 320px;
  }
}



/* Formularz — informacja o prywatności */

.privacy-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #3f3b34;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.privacy-consent a,
.privacy-summary a,
.footer-inner a {
  color: #8a671c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-consent a:hover,
.privacy-summary a:hover,
.footer-inner a:hover {
  color: var(--gold);
}

.privacy-summary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: #fbf8ef;
  color: #625c52;
  font-size: 12px;
  line-height: 1.55;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

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

@media (max-width: 620px) {
  .privacy-consent {
    font-size: 12px;
  }

  .privacy-summary {
    font-size: 11px;
  }
}

/* Mapa Google w karcie kontaktowej */

.contact-location {
  margin-top: 22px;
  padding-top: 22px;
}

.contact-location-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-location-heading strong {
  display: block;
  color: var(--gold-light);
  font-size: 16px;
  line-height: 1.3;
}

.contact-location-heading span:not(.contact-location-icon) {
  display: block;
  margin-top: 4px;
  color: #cfc7b7;
  font-size: 13px;
  line-height: 1.45;
}

.contact-location-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(213, 166, 66, 0.45);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(213, 166, 66, 0.08);
}

.contact-location-icon svg {
  width: 19px;
  height: 19px;
}

.contact-map {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border: 1px solid rgba(213, 166, 66, 0.28);
  border-radius: 10px;
  background: #101010;
}

.contact-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.contact-location-actions .route-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
}

.contact-location-link {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-location-link:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .contact-map {
    height: 260px;
  }
}

@media (max-width: 620px) {
  .contact-box {
    padding: 20px;
  }

  .contact-map {
    height: 220px;
  }

  .contact-location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-location-actions .route-button,
  .contact-location-link {
    width: 100%;
    text-align: center;
  }
}

/* Wyrównanie sekcji kontaktowej */

.contact-form {
    margin-top: 38px;   /* było 28px */
    padding-bottom: 10px;
}

.contact-response-info {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
  padding: 17px 18px;
  border: 1px solid rgba(213, 166, 66, 0.48);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #f3ead5;
  color: #2d2922;
}

.contact-response-icon {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.contact-response-info strong {
  display: block;
  margin: 1px 0 5px;
  color: #17130d;
  font-size: 15px;
}

.contact-response-info p {
  margin: 0;
  color: #554d3f;
  font-size: 13px;
  line-height: 1.55;
}

.contact-response-info b {
  color: #2e2618;
}

@media (max-width: 900px) {
  .contact-form {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .contact-response-info {
    gap: 12px;
    padding: 15px;
  }

  .contact-response-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

.form-header{
    grid-column:1/-1;
    text-align:center;
    padding:6px 0 26px;
    margin-bottom:8px;
    border-bottom:1px solid #ece4d5;
}

.form-header .eyebrow{
   font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.form-header p{
    margin:0;
    color:#666;
    font-size:18px;
    line-height:1.5;
    max-width:540px;
    margin-inline:auto;
}

.form-header{
    text-align:center;

    padding:12px 0 18px;

    margin-bottom:18px;

    border-bottom:1px solid #ece4d5;
}

.form-header .eyebrow{
    font-size:18px;
    font-weight:700;
    letter-spacing:6px;
}

/* ===========================
   Stopka
=========================== */

.footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    text-align:center;
}

.footer-description{
    max-width:760px;
    margin:0;
    color:#bfb39a;
    font-size:14px;
    line-height:1.7;
}

.footer-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 18px;
    color:#d9c28a;
    font-size:14px;
}

.footer-meta a{
    color:var(--gold-light);
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:2px;
}

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

@media (max-width:620px){

    .footer-inner{
        gap:12px;
    }

    .footer-description{
        font-size:13px;
        line-height:1.6;
    }

    .footer-meta{
        flex-direction:column;
        gap:8px;
    }
}

/* ===========================
   Dopracowany nagłówek formularza
=========================== */

.contact-form .form-header {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  padding: 22px 24px 20px;
  border: 1px solid #ead7aa;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbf6e9, #f5ead0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  text-align: center;
}

.contact-form .form-header .eyebrow {
  margin: 0 0 8px;
  color: #8a671c;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.contact-form .form-header p {
  max-width: 560px;
  margin: 0 auto;
  color: #5f584c;
  font-size: 17px;
  line-height: 1.5;
}

/* ===========================
   Przyciski pod mapą
=========================== */

.contact-location-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.contact-map-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
  white-space: nowrap;
}

.contact-map-link {
  flex: 1 1 auto;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.contact-map-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .contact-form .form-header {
    padding: 19px 16px 17px;
  }

  .contact-form .form-header .eyebrow {
    font-size: 20px;
    letter-spacing: 2.5px;
  }

  .contact-form .form-header p {
    font-size: 15px;
  }

  .contact-location-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .contact-map-button {
    width: auto;
    min-height: 42px;
    padding: 0 13px;
    font-size: 10px;
  }

  .contact-map-link {
    width: auto;
    min-width: 0;
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .contact-map-button {
    padding: 0 10px;
    font-size: 9px;
  }

  .contact-map-link {
    font-size: 13px;
  }
}



/* Walidacja numeru telefonu */

.contact-form input[name="phone"].is-invalid {
  border-color: #b83a3a;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(184, 58, 58, 0.1);
}

.contact-form input[name="phone"].is-invalid:focus {
  outline: none;
  border-color: #9b2c2c;
}


/* ===========================
   Skrócony cennik na stronie głównej
=========================== */

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

.price-summary-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.price-summary-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 17px;
  font-weight: 900;
}

.price-summary-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.price-summary-card p {
  margin: 0;
  color: var(--muted);
}

.price-summary-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ===========================
   Podstrona pełnego cennika
=========================== */

.price-page {
  min-height: 100vh;
  background: var(--cream);
}

.price-page-hero {
  padding: 66px 0 58px;
  background:
    radial-gradient(circle at 80% 20%, rgba(213, 166, 66, 0.22), transparent 30%),
    linear-gradient(135deg, #15120c, #080808 70%);
  color: var(--white);
  border-bottom: 1px solid rgba(213, 166, 66, 0.2);
}

.price-page-hero-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.price-page-hero-copy {
  max-width: 760px;
}

.price-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #d6cfbf;
  font-size: 18px;
}

.price-page-content {
  padding: 64px 0 86px;
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.price-tab {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.price-tab:hover {
  border-color: rgba(213, 166, 66, 0.45);
  background: #fbf8ef;
}

.price-tab.is-active {
  border-color: var(--gold);
  background: var(--black);
  color: var(--gold-light);
}

.price-tab:focus-visible {
  outline: 3px solid rgba(213, 166, 66, 0.3);
  outline-offset: 2px;
}

.price-page-note {
  margin-bottom: 26px;
}

.price-sections {
  display: grid;
  gap: 34px;
}

.price-category {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.price-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
  background: #fbf8ef;
}

.price-category-header h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.price-category-header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  min-width: 760px;
  text-align: left;
}

.price-table th {
  padding: 14px 16px;
  white-space: nowrap;
}

.price-table td {
  padding: 16px;
  vertical-align: top;
  text-align: left;
}

.price-table td:first-child {
  min-width: 210px;
  background: var(--white);
}

.price-table tbody tr:nth-child(even) td {
  background: #fcfaf5;
}

.price-table tbody tr:hover td {
  background: #f8f1df;
}

.price-table .price-value {
  min-width: 135px;
  color: #7c5c19;
  font-weight: 900;
  white-space: nowrap;
}

.price-table .price-duration {
  min-width: 105px;
  font-weight: 800;
  white-space: nowrap;
}

.price-table .price-description {
  min-width: 190px;
  color: var(--muted);
}

.price-page-empty,
.price-page-error {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.price-page-error {
  border-color: #e7c9c9;
  background: #fff7f7;
  color: #9b2c2c;
}

.price-page-cta {
  margin-top: 42px;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #16130d, #080808);
  color: var(--white);
}

.price-page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-page-cta h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.price-page-cta p {
  margin: 8px 0 0;
  color: #d6cfbf;
}

@media (max-width: 900px) {
  .price-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-page-hero-inner,
  .price-category-header,
  .price-page-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-category-header p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .price-summary-grid {
    grid-template-columns: 1fr;
  }

  .price-page-hero {
    padding: 48px 0 42px;
  }

  .price-page-hero p {
    font-size: 16px;
  }

  .price-page-content {
    padding: 40px 0 58px;
  }

  .price-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .price-tab {
    width: 100%;
  }

  .price-category-header {
    padding: 21px 20px;
  }

  .price-page-cta {
    padding: 24px 20px;
  }

  .price-page-cta .btn {
    width: 100%;
  }
}

#price-page-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  color: #6b6458;
  font-size: 14px;
}

/* ===========================
   Poprawki cennika
=========================== */

/* Cena w skróconych kartach na stronie głównej */
.price-summary-value {
  display: block;
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

/* Podpowiedź przewijania tabeli: domyślnie ukryta na desktopie */
.price-scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.price-scroll-hint span {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* Pokazuj komunikat wyłącznie tam, gdzie tabela wymaga przewijania */
@media (max-width: 760px) {
  .price-scroll-hint {
    display: flex;
  }
}


/* ===========================
   Responsywność skróconego cennika
=========================== */

@media (max-width: 620px) {
  #cennik .section-head {
    margin-bottom: 28px;
  }

  #cennik .section-head h2 {
    margin-bottom: 18px;
  }

  #cennik .section-head p {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  #cennik .price-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #cennik .price-summary-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  }

  #cennik .price-summary-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.2;
  }

  #cennik .price-summary-value {
    margin: 0 0 12px;
    color: #8a671c;
    font-size: 18px;
    line-height: 1.25;
  }

  #cennik .price-summary-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  #cennik .price-summary-action {
    margin-top: 22px;
  }

  #cennik .price-summary-action .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  #cennik .price-summary-card {
    padding: 20px 17px;
  }

  #cennik .price-summary-card h3 {
    font-size: 20px;
  }

  #cennik .price-summary-action .btn {
    padding-inline: 14px;
    font-size: 12px;
  }
}

/* ===========================
   Dodatkowe informacje pod cennikiem
=========================== */

.price-info[hidden] {
  display: none;
}

.price-info {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.035);
}

.price-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: #fbf8ef;
}

.price-info-accent {
  flex: 0 0 auto;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: var(--gold);
}

.price-info-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
}

.price-info-content {
  padding: 22px 24px 24px;
  color: #4f4a42;
  font-size: 15px;
  line-height: 1.7;
}

.price-info-content p {
  margin: 0;
  white-space: pre-line;
}

.price-info-content p + p {
  margin-top: 16px;
}

.price-info + .price-page-cta {
  margin-top: 32px;
}

@media (max-width: 620px) {
  .price-info {
    margin-top: 24px;
    border-radius: 14px;
  }

  .price-info-header {
    gap: 10px;
    padding: 16px 18px;
  }

  .price-info-accent {
    width: 4px;
    height: 26px;
  }

  .price-info-header h2 {
    font-size: 20px;
  }

  .price-info-content {
    padding: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .price-info-content p + p {
    margin-top: 14px;
  }

  .price-info + .price-page-cta {
    margin-top: 26px;
  }
}

/* ===========================
   Zdjęcia aktualności — lightbox
=========================== */

.news-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.news-image-button img {
  transition: transform 0.25s ease;
}

.news-image-button:hover img {
  transform: scale(1.025);
}

.news-image-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}


/* Zablokowanie scrollowania strony
   podczas otwartego lightboxa */

body.news-lightbox-open {
  overflow: hidden;
}


.news-lightbox[hidden] {
  display: none;
}

.news-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.news-lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}


.news-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}


.news-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1600px);
  height: min(90vh, 1100px);
  pointer-events: none;
}


.news-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow:
    0 24px 80px
    rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}


/* Przycisk zamknięcia */

.news-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;
  padding: 0;

  border: 1px solid rgba(213, 166, 66, 0.7);
  border-radius: 50%;

  background: #111;
  color: var(--gold-light);

  /*
   * Ukrywamy tekstowy znak × generowany przez JS.
   * Właściwy krzyżyk rysują pseudoelementy poniżej.
   */
  font-size: 0;

  cursor: pointer;
  pointer-events: auto;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}


/* Krzyżyk rysowany w CSS */

.news-lightbox-close::before,
.news-lightbox-close::after {
  content: "";
  position: absolute;

  width: 18px;
  height: 2px;

  border-radius: 999px;
  background: currentColor;
}

.news-lightbox-close::before {
  transform: rotate(45deg);
}

.news-lightbox-close::after {
  transform: rotate(-45deg);
}


.news-lightbox-close:hover {
  background: var(--gold);
  color: #111;
  transform: scale(1.05);
}

.news-lightbox-close:focus-visible {
  outline: 3px solid rgba(241, 207, 118, 0.45);
  outline-offset: 4px;
}


/* ===========================
   Lightbox — mobile
=========================== */

@media (max-width: 620px) {
  .news-lightbox {
    padding: 16px;
  }

  .news-lightbox-content {
    width: 100%;
    height: 88vh;
  }

  .news-lightbox-image {
    border-radius: 7px;
  }

  .news-lightbox-close {
    top: 6px;
    right: 6px;

    width: 44px;
    height: 44px;

    background: rgba(17, 17, 17, 0.92);
  }
}


/* Ograniczenie animacji dla użytkowników,
   którzy mają je wyłączone w systemie */

@media (prefers-reduced-motion: reduce) {
  .news-lightbox,
  .news-image-button img,
  .news-lightbox-close {
    transition: none;
  }
}

/* ===========================
   Aktualności — czytelna miniatura zdjęcia
=========================== */

.news-image {
  position: relative;

  /*
   * Złote obramowanie oddzielające
   * miniaturę od pozostałej części karty.
   */
  border-bottom: 2px solid var(--gold);

  background: #eee8dc;
}


/*
 * Przycisk zajmuje całą powierzchnię zdjęcia.
 */
.news-image-button {
  position: relative;

  display: block;

  width: 100%;
  height: 100%;

  padding: 0;
  border: 0;

  overflow: hidden;

  background: transparent;

  cursor: zoom-in;
}


/*
 * Miniatura nadal jest celowo kadrowana.
 * Pełne zdjęcie pojawia się po kliknięciu.
 */
.news-image-button img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}


/*
 * Delikatne powiększenie po najechaniu.
 */
.news-image-button:hover img {
  transform: scale(1.025);
}


/*
 * Nakładka z informacją o powiększeniu.
 */
.news-image-overlay {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 45px;

  padding: 8px 14px;

  background:
    rgba(20, 20, 20, 0.62);

  color: #fff;

  backdrop-filter: blur(2px);

  pointer-events: none;

  transition:
    background-color 0.2s ease;
}


/*
 * Po najechaniu komunikat staje się
 * odrobinę bardziej widoczny.
 */
.news-image-button:hover
.news-image-overlay {
  background:
    rgba(12, 12, 12, 0.78);
}


/*
 * Ikona lupy.
 */
.news-image-zoom-icon {
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  color: var(--gold-light);
}


.news-image-zoom-icon svg {
  display: block;

  width: 24px;
  height: 24px;
}


/*
 * Tekst informacji.
 */
.news-image-overlay-text {
  color: #fff;

  font-size: 13px;
  font-weight: 700;

  line-height: 1.3;

  text-align: center;
}


/*
 * Klawiatura — wyraźny focus.
 */
.news-image-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}


/* ===========================
   Aktualności — mobile
=========================== */

@media (max-width: 620px) {

  .news-image-overlay {
    min-height: 42px;
    padding: 7px 10px;
  }

  .news-image-overlay-text {
    font-size: 12px;
  }

  .news-image-zoom-icon,
  .news-image-zoom-icon svg {
    width: 21px;
    height: 21px;
  }
}