html { overflow-x: visible; }
body { overflow-x: hidden; }
.pill-disabled {
  pointer-events: none !important;
  cursor: default !important;
}
.hero-marquee{
  position: relative;
  overflow: hidden;
  min-height: 1080px;   /* dopasuj do swojego hero */
}

/* Ruchome tło na pseudoelemencie, niezależne od Spectry */
.hero-marquee::before{
  content: "";
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  z-index: 0;
	background-image:url("https://annaprzastek.com/wp-content/uploads/2025/08/Frame-37267-scaled.png");
  background-repeat: repeat-x;
  background-size: auto 100%;   /* wysokość na 100%, szerokość naturalna */
  background-position: 0 50%;
  animation: heroMarqueeScroll 40s linear infinite;
  will-change: background-position;
}

/* (opcjonalnie) półtransparentny overlay na tle, jeśli chcesz przyciemnić */
.hero-marquee::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;               /* zostaje POD treścią, NAD tłem */
  background: radial-gradient(transparent, rgba(0,0,0,.25));
  pointer-events:none;
}

/* Treść hero zawsze nad tłem i overlayem */
.hero-marquee > *{
  position: relative;
  z-index: 1;
}

/* Płynny scroll w lewo – wartość -1920px = szerokość pojedynczego panelu */
@keyframes heroMarqueeScroll{
  0%   { background-position:   0 50%; }
  100% { background-position: -1920px 50%; }
}

/* Mobile + preferencje dostępności */
@media (max-width: 768px){
  .hero-marquee::before{ animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce){
  .hero-marquee::before{ animation: none; }
}
.text-flow{
  display: inline-block;
  animation: zoomColorGlow 2.3s ease-in-out infinite; 
}

@keyframes zoomColorGlow {
  0%, 100% {
    transform: scale(1);
    color: #000;
    text-shadow: none;
  }
  50% {
    transform: scale(1.1);
    color: #A4B6FE;
    text-shadow: 0 0 10px rgba(164,182,254,.45); /* opcjonalny glow */
  }
}

@media (prefers-reduced-motion: reduce){
  .text-flow{ animation: none; }
}
.logos-marquee::before{
  content: "";
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  z-index: 0;
	background-image:url("https://annaprzastek.com/wp-content/uploads/2025/09/Logos2-scaled.png");
  background-repeat: repeat-x;
  background-size: auto 100%;   /* wysokość na 100%, szerokość naturalna */
  background-position: 0 50%;
  animation: heroMarqueeScroll 40s linear infinite;
  will-change: background-position;
}

/* (opcjonalnie) półtransparentny overlay na tle, jeśli chcesz przyciemnić */
.logos-marquee::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;               /* zostaje POD treścią, NAD tłem */
  background: radial-gradient(transparent, rgba(0,0,0,.25));
  pointer-events:none;
}

/* Treść hero zawsze nad tłem i overlayem */
.logos-marquee > *{
  position: relative;
  z-index: 1;
}

/* Płynny scroll w lewo – wartość -1920px = szerokość pojedynczego panelu */
@keyframes logosMarqueeScroll{
  0%   { background-position:   0 50%; }
  100% { background-position: -1920px 50%; }
}

/* Mobile + preferencje dostępności */
@media (max-width: 768px){
  .logos-marquee::before{ animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce){
  .logos-marquee::before{ animation: none; }
}
.hero-marquee-flya{
  position: relative;
  overflow: hidden;
  min-height: 1080px;   /* dopasuj do swojego hero */
}

/* Ruchome tło na pseudoelemencie, niezależne od Spectry */
.hero-marquee-flya::before{
  content: "";
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  z-index: 0;
	background-image:url("https://annaprzastek.com/wp-content/uploads/2025/08/Frame-37268-scaled.png");
  background-repeat: repeat-x;
  background-size: auto 100%;   /* wysokość na 100%, szerokość naturalna */
  background-position: 0 50%;
  animation: heroMarqueeScroll 40s linear infinite;
  will-change: background-position;
}

/* (opcjonalnie) półtransparentny overlay na tle, jeśli chcesz przyciemnić */
.hero-marquee-flya::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;               /* zostaje POD treścią, NAD tłem */
  background: radial-gradient(transparent, rgba(0,0,0,.25));
  pointer-events:none;
}

/* Treść hero zawsze nad tłem i overlayem */
.hero-marquee-flya > *{
  position: relative;
  z-index: 1;
}


/* Mobile + preferencje dostępności */
@media (max-width: 768px){
  .hero-marquee-flya::before{ animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce){
  .hero-marquee-flya::before{ animation: none; }
}

/* Ustaw slajdy w jednej linii i wyrównaj ich zawartość do góry */
.gallery .slick-track{
  display: flex !important;
  align-items: flex-start !important;   /* TOP */
}

/* Nie wymuszaj stałej wysokości slajdu */
.gallery .slick-slide{ height: auto !important; }
.gallery .slick-slide > div{ height: 100%; }

/* Kontener obrazka wyrównany do góry */
.gallery .uagb-img-container{
  display: flex;
  align-items: flex-start;              /* TOP */
  justify-content: center;
}

/* KONTENER */
.cf7-clean {
  max-width: 400px;
  margin: 10px auto 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.3;
}

/* LABEL - mniejszy odstęp, spójnie z polem */
.cf7-clean label {
  width: 85%;
  display: block;
  margin: 6px auto 2px; /* mniejszy odstęp nad polem */
  font-weight: 300;
  text-align: left;
}

/* POLA */
.cf7-clean input[type="text"],
.cf7-clean input[type="email"],
.cf7-clean textarea {
  width: 85%;
  display: block;
  margin: 0 auto 8px; /* mniejszy odstęp POD polem */
  padding: 10px 12px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
  font-size: 16px;
}

.cf7-clean textarea {
  min-height: 100px;
  resize: vertical;
}

.cf7-clean input:focus,
.cf7-clean textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* CHECKBOX + TEKST */
.cf7-clean .human-check {
  width: 85%;
  margin: 4px auto 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap; /* zapobiega łamaniu w drugiej linii */
}

/* PRZYCISK */
.cf7-clean input[type="submit"] {
  display: block;
  width: 85%;
  margin: 6px auto 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: transform .05s ease, opacity .2s ease;
}

.cf7-clean input[type="submit"]:hover { opacity: .9; }
.cf7-clean input[type="submit"]:active { transform: translateY(1px); }

/* KOMUNIKATY */
.wpcf7 form .wpcf7-response-output {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  text-align: center;
  max-width: 85%;
  margin: 14px auto;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #16a34a;
  background: #dcfce7;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ef4444;
  background: #fee2e2;
}

/* MOBILE */
@media (max-width: 520px) {
  .cf7-clean {
    padding: 0 16px;
    max-width: 100%;
  }
  .cf7-clean label,
  .cf7-clean .human-check,
  .cf7-clean input[type="text"],
  .cf7-clean input[type="email"],
  .cf7-clean textarea,
  .cf7-clean input[type="submit"],
  .wpcf7 form .wpcf7-response-output {
    width: 95%;
  }
}
/* Kontener rotatora – centrowanie */
.animated-words-rotator,
.animated-words-rotator *,
.animated-words-rotator span {
    text-align: center !important;
    display: inline-block;
}

/* Sam tekst – bold + rozmiar */
.animated-words-rotator span {
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 1.2;
    color: #000; /* zmień jeśli chcesz */
}

/* Kontener całego shortcodu */
.animated-words-rotator {
    width: 100%;
    margin: 0 auto;
    display: block;
}
.sub-menu {
  position: relative;
  z-index: 1000 !important;
}