.reference-section {
  background: #f8f8f8;
  padding-top: 64px;
  padding-bottom: 64px;
}
.reference-section .container {
  max-width: 1600px;
}
.section-title {
  color: #f39231;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}
.reference-ornament img { opacity: 0.85; }
.reference-section p {
  color: #f39231;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.title-ornament .svg-ornament {
  color: #202020;       /* Sem dáš požadovanou barvu */
  width: 200px;
  height: 72px;
  display: block;
  margin: 0 auto;
  opacity: 0.85;
}

/* SWIPER ÚPRAVY */
.swiper-wrapper {
  align-items: flex-start !important;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  padding-top: 16px;
  padding-bottom: 16px;
}
.reference-thumb-link {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(243,146,49,0.09);
  border: 2.2px solid #f39231;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.18s;
}
.reference-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  display: block;
  border: none;
  margin: 0;
  transition: filter 0.18s;
}
.reference-thumb-link:hover,
.reference-thumb-link:focus {
  border-color: #e06a00;
  box-shadow: 0 8px 36px 0 #f392313a, 0 0 0 3px #f3923118;
}
.reference-thumb-link:hover .reference-thumb,
.reference-thumb-link:focus .reference-thumb {
  filter: brightness(0.97) saturate(1.05) contrast(1.01);
}

/* Vypnutí Swiper pagination a navigace */
.swiper-pagination, .swiper-button-prev, .swiper-button-next {
  display: none !important;
}

/* RESPONSIVE úpravy */
@media (max-width: 1400px) {
  .reference-section .container { max-width: 1200px; }
  .reference-thumb-link { max-width: 300px; }
}
@media (max-width: 1200px) {
  .reference-thumb-link { max-width: 220px; }
}
@media (max-width: 900px) {
  .reference-title { font-size: 1.4rem; }
  .reference-thumb-link { max-width: 98vw; }
}
@media (max-width: 599px) {
  .reference-title { font-size: 1.14rem; }
  .reference-thumb-link { max-width: 97vw; }
  .reference-section p { font-size: 1rem; }
}
