/* =========================
   HOME PAGES CSS (indexpl + indexen)
   Oryginalne klasy bez zmian w HTML
   ========================= */

body { 
  font-family: 'Roboto', sans-serif; 
  background: #fff; 
  color: #333; 
  margin: 0; 
  padding: 0; 
  letter-spacing: 0.4px;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none; 
}

.line-break-sm { display: none; }

@media (max-width: 768px) {
  .line-break-sm { display: inline; }
}

.text-video-container {
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; 
}

.bottom-video { max-width: 1000px; }

.bottom-video video {
  width: 10%;
  border-radius: 20px;
}

/* =========================
   Separatory
   ========================= */
.separator2,
.separator8,
.separator7,
.separator,
.separator00 {
  width: 180px;
  height: 7px;
  background-color: #f0bb1c;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 4s ease-in-out infinite;
}

.separator00 {
  margin-top: 14px;
  margin-bottom: 7%;
  margin-left: 25%;
}

@media (max-width: 768px) {
  .separator7,
  .separator8 {
    width: 180px;
    height: 7px;
    background-color: #f0bb1c;
  }

  .separator00 { margin-left: 14%; }
}

.text-1,
.text-3 {
  display: block;
  width: fit-content;
}

.text-1,
.text-3,
.text-2,
.text-4 {
  font-size: 22px;
}

@media (max-width: 768px) {
  .text-1,
  .text-2,
  .text-3,
  .text-4 {
    font-size: 22px;
  }
}

/* =========================
   HERO video section
   ========================= */
.video-section {
  position: relative;
  width: 100%;
  min-height: 88svh;
  overflow: hidden;
}

.video-section .bg-poster,
.video-section .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* start: pokazuj obrazek, ukryj wideo */
.video-section .bg-video { display: none; }

.video-overlay {
  position: relative;
  z-index: 1;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
}

.video-overlay h1 {
  font-size: 3rem;
  letter-spacing: 0px;
  color: #f0bb1c;
}

/* UWAGA: masz też na dole .btn (czerwony) – to jest konflikt.
   Zostawiam Twoją wersję hero jako bardziej “specyficzną” (.video-overlay .btn) */
.video-overlay .btn {
  padding: 12px 29px;
  flex: 1 1 300px;     
  margin: 20px 0;
  max-width: 350px;    
  min-width: 350px;    
  text-align: center;
  background: #f0bb1c;
  color: rgb(29, 29, 29);
  border-radius: 65px;
  font-size: 25px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  transition: transform 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.video-overlay .btn:hover {
  font-family: 'Roboto', sans-serif;
  background: #e2af16;
  transform: scale(1.1);
}

.video-overlay .separator {
  width: 150px;           
  height: 7px;             
  background-color: #f0bb1c; 
  transform: scaleX(0);
  align-items: center;
  transform-origin: center;
  margin: 0 auto;
  margin-top: 35px;
  margin-bottom: 35px;
  animation: drawLine 4s ease-in-out infinite;
}

@media (max-width: 700px) {
  .video-overlay .separator { width: 120px; }
}

@media (max-width: 768px) {
  .video-overlay {
    padding-top: 40px;
    padding-bottom: 90px;
  }

  .video-overlay h1 {
    font-size: 2.4rem;
    margin-left: 10%;  
    margin-right: 10%;  
    text-align: center;
  }

  .video-overlay h4 {
    font-size: 1.4rem;
    margin-left: 10%;  
    margin-right: 10%;
  }

  .video-overlay .btn {
    margin: 10px 0 !important;
    padding: 10px 22px;
    max-width: 350px;
    min-width: 260px;
    font-size: 20px;
  }
}

/* =========================
   Inne sekcje video
   ========================= */
.video-section3 {
  position: relative;
  width: 100%;
  height: 80ch;
  overflow: hidden;
}

.video-section3 video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay3 {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
}

.video-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin: 0;
  flex-direction: column;
  align-items: center; 
}

.video-hero .video-wrapper {
  height: 300px;
  background-color: #ffffff;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
}

.content {
  text-align: center;
  margin-bottom: 0;
}

.video-testimonial .video-wrapper {
  height: 200px;
  background-color: #fdf2e9;
}

.video-section5 {
  position: relative;
  width: 100%;
  height: 80ch;
  overflow: hidden;
}

.video-section5 video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay5 {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 320px;
}

.overlay-text {
  position: absolute;
  left: 50%;
  color: rgb(0, 0, 0);
  text-align: center;
  z-index: 2;
  max-width: 90%;
}

/* =========================
   Buttons (see more)
   ========================= */
.see-more-btn {
  font-size: 24px;
  padding: 14px 36px;
  background: #000;
  color: #f0bb1c;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.4s ease;
  text-decoration: none;
  display: inline-block;
}

.see-more-btn:hover {
  background: #000000;
  transform: scale(1.1);
}

.see-more-btn3 {
  font-size: 24px;
  padding: 14px 36px;
  background: #000;
  color: #f0bb1c;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.4s ease, background 0.3s ease, color 0.5s ease;
  display: inline-block;
}

.see-more-btn3:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.1);
  transition: transform 0.4s ease, color 0.5s ease;
}

/* ===== FIX z Twoich screenów: see-more-btn4 absolut + biały klocek ===== */
.see-more-btn4 {
  position: static;
  margin-left: 0%;
  margin-right: 10%;
  font-size: 24px;
  padding: 14px 36px;
  background: #ffffff;
  color: #f0bb1c;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.4s ease, background 0.3s ease, color 0.5s ease;
  display: inline-block;
  text-decoration: none;
}

.see-more-btn4:hover {
  background: #000000;
  color: #f0bb1c;
  transform: scale(1.1);
  transition: transform 0.4s ease, color 0.5s ease;
}

@media (max-width: 768px) {
  .see-more-btn3 { padding: 14px 39px; }

  .order-section .see-more-btn4 {
    position: static;
    display: block;
    margin: 20px auto;
  }
}

/* =========================
   Headings
   ========================= */
h2 {
  color: #050505;
  font-size: 33px;
}

h3 {
  font-size: 20px;
  color: black;
  border-radius: 38px;
}

h5 {
  font-size: 22px;
  color: black;
  border-radius: 38px;
}

h6 {
  color: #050505;
  font-size: 33px;
  position: absolute;
  z-index: 10;
}

h4 {
  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: 35px 0;
}

@media (max-width: 768px) {
  h6 {
    font-size: 1.7rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
  }
}

/* =========================
   Yellow section
   ========================= */
.yellow-section {
  font-family: 'Roboto', sans-serif;
  background: #f0bb1c;
  align-items: center;
  position: relative;
  padding-top: 300px;
  padding-bottom: 60px;
}

#oferta.yellow-section { background-color: hsl(43, 91%, 54%); }

.yellow-section h2.yellow-h2 {
  font-size: 2rem;
  padding-top: 10%;
  padding-right: 5%;
}

.yellow-section h2.yellow2-h2 {
  font-size: 2rem;
  padding-top: 3%;
}

.yellow-section h2 { font-size: 31px; }

.yellow-section-bottom-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgb(29, 29, 29);
}

@media (min-width: 1024px) and (max-height: 800px) {
  .yellow-section { padding-top: 480px !important; }
}

@media (max-width: 768px) {
  .yellow-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .yellow-section h2.yellow-h2 {
    font-size: 1.4rem;
    padding-top: 24%;
  }

  .yellow-section h2.yellow2-h2 {
    font-size: 1.4rem;
    padding-top: 4%;
    padding-bottom: 6%;
  }
}

/* =========================
   Ellipse video
   ========================= */
:root {
  --video-w: min(700px, 90vw);
  --video-h: calc(var(--video-w) * 9 / 16);
  --video-gap: 40px;
}

.ellipse-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, calc(100vw - 60px));
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  z-index: 5;
}

.ellipse-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* laptop / niskie ekrany */
@media (min-width: 1024px) and (max-height: 800px) {
  .ellipse-video {
    transform: translate(-50%, -8%) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }

  .ellipse-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px !important;
  }
}

/* mobile */
@media (max-width: 768px) {
  :root {
    --video-w: min(520px, 92vw);
    --video-gap: 28px;
  }
}

/* =========================
   Grid 2x2
   ========================= */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px; 
  row-gap: 30px;      
  margin: 10px 0 0 0; 
  max-width: 100%; 
  justify-items: center; 
  padding: 40px 20px 0 20px; 
}

.grid-item {
  background: #fff;
  border-radius: 39px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 400px;
  transition: transform 0.3s;
  cursor: pointer;
  text-align: center;
}

.grid-item:hover { transform: translateY(-10px); }

.grid-item img {
  width: 100%;
  border-radius: 39px;
}

.grid-item .desc {
  font-weight: 500;
  color: #000;
}

@media (max-width: 768px) {
  .grid-2x2 {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    max-width: 90%;
    justify-items: center;
    padding: 0 20px;
  }

  .grid-item:hover { transform: translateY(-5px); }
  .grid-item .desc { color: #333; }
}

/* =========================
   Kontakt
   ========================= */
#kontakt {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  padding: 100px 20px;
  text-align: center;
}

#kontakt h2 { font-size: 2rem; }

#kontakt p {
  font-size: 1.1rem;
  margin: 10px 0;
}

#kontakt a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

#kontakt a:hover { color: #f0bb1c; }

.social-icon {
  width: 40px;
  margin: 0 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

a { display: inline-block; }

.social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* =========================
   Opinie carousel
   ========================= */
.opinie-carousel {
  position: relative;
  max-width: 500px;
  margin: auto;
  margin-bottom: 50px;
  overflow: hidden;
  border: 1px solid #000; 
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.opinie-carousel:hover {
  transform: scale(1.011);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}

.opinie-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.opinia {
  min-width: 100%;
  box-sizing: border-box;
}

.opinia img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .opinie-carousel {
    max-width: 90%;
    padding: 0 10px;
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0);
  border: none;
  color: rgba(0, 0, 0, 0);
  font-size: 24px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* =========================
   Text section
   ========================= */
.text-section {
  max-width: 1200px;
  transition: transform 0.9s ease;
}

.text-section h2 {
  text-align: left;
  font-size: 2rem;
}

.text-section .separator {
  width: 220px;
  height: 8px;
  background-color: #f0bb1c;
  transform: scaleX(0);
  transform-origin: center;
  animation: drawLine 4s ease-in-out infinite;
}

@media (max-width: 700px) {
  .text-section h2 { text-align: left; }

  .text-section .separator {
    width: 250px;
    height: 8px;
  }
}

/* =========================
   Logo carousel
   ========================= */
.logo-carousel {
  position: relative;
  width: auto;
  margin: 0 auto;
  overflow: hidden; 
}

.logo-track {
  display: flex;
  animation: slide 60s infinite; 
}

.logo-track a {
  flex: 0 0 calc(100% / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  padding-top: 0%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.logo-track img {
  max-height: 280px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-track img:hover { transform: scale(1.1); }

@keyframes slide {
  0%, 3%    { transform: translateX(0); }
  6%, 10%   { transform: translateX(-25%); }
  13%, 16%  { transform: translateX(-50%); }
  19%, 23%  { transform: translateX(-75%); }
  26%, 29%  { transform: translateX(-100%); }
  32%, 35%  { transform: translateX(-125%); }
  39%, 43%  { transform: translateX(-150%); }
  46%, 49%  { transform: translateX(-175%); }
  53%, 57%  { transform: translateX(-200%); }
  61%, 65%  { transform: translateX(-225%); }
  69%, 73%  { transform: translateX(-250%); }
  77%, 81%  { transform: translateX(-275%); }
  85%, 89%  { transform: translateX(-300%); }
  93%, 97%  { transform: translateX(-325%); }
  100%, 100% { transform: translateX(-350%); }
}

@media (max-width: 760px) {
  .logo-track { animation: slide-mobile 60s infinite; }

  .logo-track a {
    flex: 0 0 100%;
    justify-content: center;
  }

  @keyframes slide-mobile {
    0%, 3%    { transform: translateX(0); }
    6%, 10%   { transform: translateX(-100%); }
    13%, 16%  { transform: translateX(-200%); }
    19%, 23%  { transform: translateX(-300%); }
    26%, 29%  { transform: translateX(-400%); }
    32%, 35%  { transform: translateX(-500%); }
    39%, 43%  { transform: translateX(-600%); }
    46%, 49%  { transform: translateX(-700%); }
    53%, 57%  { transform: translateX(-800%); }
    61%, 65%  { transform: translateX(-900%); }
    69%, 73%  { transform: translateX(-1000%); }
    77%, 81%  { transform: translateX(-1100%); }
    85%, 89%  { transform: translateX(-1200%); }
    93%, 97%  { transform: translateX(-1300%); }
    100%, 100% { transform: translateX(-1400%); }
  }
}

/* =========================
   video-section2
   ========================= */
.video-section2 {
  width: 100%;
  box-sizing: border-box;
  min-height: 90vh;
  position: relative;
}

.video-container2 {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.video-container2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-overlay2 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.4;
  box-sizing: border-box;
  padding: 40px 20px 80px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.178);
}

.video-overlay2 h4 {
  color: #f0bb1c;
  font-size: 2rem;
}

.video-overlay2 ul { list-style: none; }

.video-overlay2 li {
  font-size: 1.5rem;
  line-height: 2.95;
  opacity: 0;
  animation: fadeSlideIn 0.6s ease forwards;
}

.video-overlay2 li.white { color: #fff; }
.video-overlay2 li.yellow { color: #f0bb1c; }

.video-overlay2 a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, font-weight 0.3s ease;
}

.video-overlay2 a:hover {
  font-weight: bold;
  transform: scale(1.05);
  text-decoration: underline;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-overlay2 li:nth-child(1) { animation-delay: 0.2s; }
.video-overlay2 li:nth-child(2) { animation-delay: 0.4s; }
.video-overlay2 li:nth-child(3) { animation-delay: 0.6s; }
.video-overlay2 li:nth-child(4) { animation-delay: 0.8s; }
.video-overlay2 li:nth-child(5) { animation-delay: 1s; }
.video-overlay2 li:nth-child(6) { animation-delay: 1.2s; }
.video-overlay2 li:nth-child(7) { animation-delay: 1.4s; }
.video-overlay2 li:nth-child(8) { animation-delay: 1.6s; }

@media (max-width: 768px) {
  .video-container2 { height: auto; }
  .video-section2 { min-height: 100vh; height: auto; }
  .video-overlay2 { padding: 20px 15px 60px; }
  .video-overlay2 h4 { font-size: 1.7rem; }

  .video-overlay2 li {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.38;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 8%;
  }
}

/* =========================
   yellow-section0
   ========================= */
.yellow-section0 {
  background: #f0bb1c;
  text-align: left;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box; 
}

@media (max-width: 768px) {
  .yellow-section0 {
    text-align: center;
    color: #000;
    padding: 20px;
  }
}

/* =========================
   separator0/9/90
   ========================= */
.text-section0 h2 {
  font-size: 2rem;
  font-weight: 600;
}

.separator0,
.separator9,
.separator90 {
  width: 180px;
  height: 7px;
  background-color: #ffffff;
  transform-origin: left;
  animation: drawLine 4s ease-in-out infinite;
}

.separator9 {
  margin-top: 14px;
  align-items: center;
}

@keyframes drawLine {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* =========================
   Gallery
   ========================= */
.gallery-section { 
  padding: 20px;
  background: #f0bb1c;
}

.gallery-section h2 { 
  text-align: left;
  font-size: 2rem;
}

.gallery-section p {
  text-align: left;
  max-width: 700px;
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
}

.gallery-section1 {
  background: #f0bb1c;
}

@media (max-width: 700px) {
  .gallery-section h2 { font-size: 1.7rem; }
}

.gallery-section1 p {
  text-align: left;
  max-width: 700px;
  color: #000000;
  font-size: 1.4rem;
  line-height: 1.4;
}

.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  padding: 0 20px;
  box-sizing: border-box;
}

.gallery-grid1 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  justify-items: center; 
  align-items: start;
  gap: 0px 0px;         
  max-width: 1200px;      
  margin: 0 auto;    
  margin-bottom: 10px;
}

.gallery-item { 
  display: block;
  background: #fff; 
  border-radius: 15px; 
  overflow: hidden; 
  border: 1px solid #000000; 
  text-align: left; 
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item:focus,
.gallery-item:visited,
.gallery-item:active {
  color: inherit;
  text-decoration: none;
}

.gallery-item:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.gallery-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.gallery-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.gallery-caption {
  padding: 15px;
}

.gallery-caption p {
  margin: 6px 0;
}

.gallery-caption span {
  color: #000;
  line-height: 1.5;
  display: inline-block;
  font-weight: 700;
  transition: color 0.25s ease;
}

.gallery-item:hover .gallery-caption span {
  color: #f0bb1c;
}

.gallery-item:hover .gallery-media img {
  opacity: 0;
}

.gallery-item:hover .gallery-media video {
  opacity: 1;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gallery-grid1 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-item .gallery-media img {
    display: none;
  }

  .gallery-item .gallery-media video {
    position: static;
    opacity: 1 !important;
    pointer-events: auto;
    height: auto;
  }
}

/* =========================
   Video section4/reels
   ========================= */
.video-section4 {
  background: #fff;
  text-align: left;
}

.section-header h2,
.section-header8 h2,
.section-header9 h2,
.section-header6 h2 {
  font-size: 2rem;
  font-weight: bold;
}

.video-caption h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
}

.reel-link {
  font-size: 1.7rem;
  text-decoration: none;
  color: #000;
  transition: font-weight 0.3s ease;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 30px;
  box-sizing: border-box; 
}

.video-container video {
  width: 95%;
  height: auto;
  display: block;
  align-items: center;
  object-fit: cover;
  border-radius: 15px;  
  border: 1px solid #000;   
}

@media (max-width: 768px) {
  .section-header9 h2,
  .section-header6 h2 {
    font-size: 1.7rem;
  }

  .video-container {
    padding: 0;
    border-radius: 14px;
  }

  .video-container video {
    width: 100%;
    border: 1px solid #000;
  }

  .video-caption h3 {
    font-size: 1.5rem;
  }

  .reel-link {
    font-size: 1.2rem;
  }

  .reel-link:hover {
    font-weight: bold;
    text-decoration: underline;
  }

  .section-header h2 { font-size: 1.7rem; }
  .video-caption h3 { font-size: 1.2rem; }
}

/* =========================
   Overlay05
   ========================= */
.video-overlay05 {
  position: absolute;
  bottom: -190px; 
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.video-overlay05 a {
  font-size: 30px;
  font-weight: 400;
  color: #ffffff; 
  text-decoration: none;
  transition: color 0.4s ease;
  display: block; 
}

.video-overlay05 a:hover { color: #000000; }

@media (max-width: 768px) {
  .video-overlay05 {
    bottom: -140px;
    font-size: 20px;
  }

  .video-overlay05 a {
    font-size: 1.4rem;
    font-weight: 400;
  }
}

/* =========================
   Oferta grid
   ========================= */
.gallery-grid-offerta {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 6rem;
  width: 60%;
  height: 60%;
  margin: 4rem auto 0 auto;
}

@media (max-width: 768px) {
  .gallery-grid-offerta {
    grid-template-columns: 1fr;
    width: 85%;
    height: 85%;
  }
}

.gallery-item-offerta {
  border: 2px solid #000;      
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;       
  align-items: stretch;
  transition: transform 0.2s ease;
}

.gallery-item-offerta:hover { transform: scale(1.03); }

.gallery-media-offerta img,
.gallery-media-offerta video {
  width: 100%;
  height: auto;                
  display: block;
  border-bottom: 1px solid #000; 
}

.gallery-caption-offerta {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  min-height: 250px;
  box-sizing: border-box;
  text-align: center;
}

.gallery-caption-offerta p {
  margin: 0;
  color: #000;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;    
}

@media (max-width: 768px) {
  .gallery-caption-offerta {
    padding: 3rem;
    min-height: 100px;
  }

  .gallery-caption-offerta p { font-size: 1.3rem; }
}

/* =========================
   Carousel (order-section)
   ========================= */
.carousel-container0 {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px; 
  margin: 0 auto;   
  gap: 20px;
}

.carousel-track0 {
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}

.carousel-slide0 {
  flex: 0 0 100%;
  scroll-snap-align: center;
  text-align: center;
  display: none;
}

.carousel-slide0.active { display: block; }

.slide-text {
  font-size: 1.3rem;
  text-align: center;
  align-items: center;
  font-weight: 500;
  max-width: 1000%;
  margin-top: 50px;
  margin-bottom: 70px;
}

.circle-img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.651);
  transition: transform 0.5s ease;
}

.circle-img:hover { transform: scale(1.3); }

/* ===== FIX: konflikt z menu headera =====
   W oryginale było ".nav { display:none; }" i to często zabija header.
   Zawężam to tylko do karuzeli, bez zmian w HTML (dalej class="nav") */
.carousel-container0 .nav {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.order-section { background: #f0bb1c; }

.order-section .order-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding-top: 3%;
  padding-bottom: 3%;
}

.see-more-container { text-align: center; }

.see-more-container1 .see-more-btn3 { margin-bottom: 50px; }

.carousel-track0 {
  display: flex;
  justify-content: center;
  gap: 80px; 
  overflow: visible;
}

.carousel-slide0 {
  display: block;
  flex: 1 1 30%;
}

.carousel-slide0 img { max-width: 220px; }

@media (max-width: 768px) {
  .slide-text {
    margin-top: 9px;
    margin-bottom: 30px;
    font-size: 1.4rem;
  }

  .see-more-container { text-align: left; }

  .carousel-slide0 {
    flex: 0 0 100%;
    scroll-snap-align: center;
    text-align: center;
    display: none;
  }

  .carousel-slide0.active { display: block; }

  .carousel-container0 .nav {
    display: block;
    font-size: 45px;
    margin-top: 36%;
  }

  .circle-img {
    margin-left: 0;
    margin-bottom: -40px;
  }

  .order-section .order-content {
    display: block;
    text-align: center;
    padding-right: 0%;
    padding-left: 0%;
    padding-bottom: 15%;
    padding-top: 10%;
  }

  .order-section .text-section0 h2 {
    text-align: center;
    font-size: 1.7rem;
  }
}

/* =========================
   highlight-link
   ========================= */
.highlight-link {
  font-weight: bold;
  text-decoration: none;
  color: #222;
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.highlight-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.highlight-link:hover { transform: scale(1.02); }

.highlight-link:hover::after { width: 100%; }

/* =========================
   desktop/mobile
   ========================= */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* =========================
   White section
   ========================= */
.white-section {
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  background-color: #fff;
  padding-right: 3%;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; 
}

.text-col-left-margin {
  flex: 1 1 500px;
  text-align: left;
  box-sizing: border-box;
}

.text-col-left-margin h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-left: 25%;
}

.para-top {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-left: 25%;
}

.video-col {
  flex: 1 1 500px;
  text-align: left;
  box-sizing: border-box;
}

.video-col video {
  width: 70%;
  margin: auto;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.video-col video:hover { transform: scale(1.03); }

@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    gap: 20px;
    display: block;
    margin-top: 15%;
  }

  .video-col { margin-bottom: -40px; }

  .text-col-left-margin h2 {
    font-size: 1.7rem;
    margin-left: 14%;
    margin-right: 10%;
  }

  .para-top {
    font-size: 1.4rem;
    margin-left: 14%;
    margin-right: 10%;
  }
}

.video-col2 {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.video-col2 video {
  max-width: 100%;
  height: auto;
  display: block;
  justify-content: center;
}

@media (max-width: 768px) {
  .video-col2 {
    width: 90%;
    display: flex;
    margin-top: 5%;
    margin-bottom: 5%;
    justify-content: center;
  }
}

.text-col22 {
  margin-right: 10%;
  margin-bottom: 5%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-col22 h6 {
  font-size: 2rem;
  margin-left: 12.7%;
}

.para-bottom {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 5%;
  margin-left: 14%;
}

@media (max-width: 768px) {
  .text-col22 {
    margin-bottom: 15%;
    margin-left: 12%;
    gap: 80px;
  }

  .text-col22 h6 {
    font-size: 1.7rem;
    margin-right: 10%;
    margin-left: 3%;
  }

  .para-bottom {
    font-size: 1.4rem;
    margin-top: 40%;
    margin-bottom: 15%;
    margin-left: 3%;
  }
}

/* =========================
   Marginesy grupowe
   ========================= */
.yellow-h2,
.section-header9,
.gallery-section h2,
.text-section0,
.separator0,
.section-header6 h2,
.separator2,
.separator90,
.yellow2-h2,
.see-more-btn3,
.video-caption {  
  margin: 40px 0;
  margin-left: 12%;
  margin-right: 10%;
}

.separator7 {
  margin-top: 20px;
  margin-left: 12%;
  margin-right: 10%;
  margin-bottom: 50px;
}

.separator8 { margin: 14px 0; }

.video-overlay2 h4 {
  margin-top: 90px;
  margin-left: 12%;
  margin-right: 11%;
}

.video-overlay2 li {
  margin-left: 12%;
  margin-right: 10%;
}

@media (max-width: 768px) {
  .separator9 { margin: 14px auto; }
  .text-section0 { margin: 40px 0; margin-left: 0%; }
  .gallery-section .see-more-btn3 { margin-left: 0%; }
}

/* =========================
   Cookie banner
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  color: #111;
  border-radius: 14px;
  padding: 20px 25px;
  box-shadow: 0 8px 35px rgba(0,0,0,0.2);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
}

.cookie-content p {
  margin: 0 0 15px 0;
  line-height: 1.5;
  font-size: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.25s ease;
}

.cookie-btn.primary {
  background: #111;
  color: white;
}

.cookie-btn:hover { opacity: 0.8; }

/* =========================
   Video popup
   ========================= */
.video-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.preview-video {
  width: 100%;
  border-radius: 12px;
}

.tooltip {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(0, 0, 0);
  color: #fff;
  padding: 8px 14px;
  border-radius: 28px;
  opacity: 1;
  pointer-events: none;
  transition: 0.3s;
  font-size: 16px;
}

.video-wrapper:hover .tooltip { opacity: 1; }

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 0;
  border-radius: 12px;
  position: relative;
  max-width: 900px;
  width: 100%;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.popup-video-container {
  width: 100%;
  aspect-ratio: 16/9;
}

.popup-video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* wrapper 16:9 */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9; 
  overflow: hidden;
  border-radius: 16px;
  display: block;
  margin-bottom: 5%;
}

.preview-video {
  width: 100%;
  height: 100%;
  border: #000;
  object-fit: cover;   
  display: block;
  margin-bottom: 5%;
}

.video-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 12px 14px;
  border: none;
  border-radius: 999px;
  background: rgb(0, 0, 0);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.05);
}

.video-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-text-section {
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .video-text-section {
    margin-top: 40px;
    margin-bottom: 60px;
  }
}

/* CTA section */
.video-section--cta {
  min-height: auto !important;
  height: auto !important;
  padding: 70px 0 100px;
}

@media (max-width: 768px) {
  .video-section--cta { padding: 50px 0 70px; }
}

/* buttons hero desktop */
@media (min-width: 1024px) {
  .buttonshero .btn:first-child { margin-right: 80px; }
}

.ellipse-video .video-poster,
.ellipse-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ellipse-video .hero-video { display: none; }
.ellipse-video .video-poster { display: block; }

/* =========================
   (USUNIĘTE z home-pages.css)
   - .nav.menu (header fixed) -> masz to w header/footer css
   - .nav { display:none } global -> zawężone do .carousel-container0 .nav
   ========================= */