html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  line-height: 1.7rem;
}

.container-900 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.container-901 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.custom-bullets {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}
.custom-bullets li::before {
  content: "• ";
}

.box-container {
  text-shadow: 1px 1px white;
  padding: 2rem 1rem 1rem 1rem;
  text-shadow: 0 1px #00000010;
  width: 67%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  z-index: 5;
}
.title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1em;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
}
.spacer {
  height: 50px;
}
.spacer1 {
  height: 500px;
}
.spacer2 {
  height: 200px;
}
.spacer{ height: 50px; }

@media (max-width: 768px){
  .spacer{ height: 20px; }
  .spacer2{ height: 80px; }
}

@media (max-width: 480px){
  .spacer{ height: 15px; }
  .spacer2{ height: 60px; }
}
.question {
  margin: 2rem 0;
  color: #ffffff;
  font-size: 1.5rem;
}
.option {
  padding: 0.4rem;
  color: #ffffff;
  width: 80%;
  border-radius: 5px;
  transition: all 0.3s;
}
.option:hover {
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.option input:checked .option {
  background: #08038c;
  color: #000;
}
.controls {
    display: flex;
    justify-content: center; 
    align-items: center;     
    margin-top: 2rem;        
}

.controls > * {
    margin: 1rem;
}
button {
  padding: 0.5rem 1.5rem;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  outline: none;
  transform: scale(0.98);
  transition: all 0.2s;
}
button.previous {
  background: #0f0f0f;
  border: 1px solid #ffffff;
}
button.previous:hover {
  background: #0f0f0f;
}
button.next {
  background: #bf910c;
}
button.restart {
  background: #0f0f0f;
  color: #fff;
  font-size: 2rem;
 border: 1px solid #ffffff;
}
button.restart:hover {
  background: #0f0f0f;
}
button:not(.previous):not(.restart):hover,
button:not(.previous):not(.restart):active {
  background: #F8CB2E;
  transform: scale(1);
  font-weight: 700;
  box-shadow: 1px 1px 1px rgba(255,255,255,.5);
}
.result {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2.5rem;
  min-height: auto;
}
.final-score {
  color: #ffffff;
}
.summary {
  font-size: 1rem;
  text-shadow: 1px 1px #ffffff50;
  color: #ffffff;
  background: #000;
  border-radius: 5px;
  display: flex;
  flex-direction: none;
  align-items: flex-start;
  margin-bottom: 2rem;
}
@media (max-width: 991px) {
  .summary {
    flex-direction: column;
  }
}
.summary h1 {
  align-self: center;
}
.services-info {
    text-align: left;
    z-index: 5;
}
.about-text-wrap {
    text-align: center; 
}
.about-image {
    max-width: 100%; 
    height: auto; 
}
.image-container {
    position: relative;
    overflow: hidden;
}
.image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.image-container:hover img {
    transform: scale(0.95);
    cursor: pointer;
}

.coin {
  position: fixed;
  top: 50%;               
  right: -150px;          
  transform: translateY(-50%);
  transition: right 0.5s ease;
  z-index: 1000;
  width: 100px;           
  height: 100px;
  pointer-events: none;   
}
.coin.show {
  right: 10px;            
}
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.shadow-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.image-container .overlay {
  display: none !important;
}

.download-image-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  outline: none;
  transform: scale(0.98);
  transition: all 0.2s;
  background: #bf910c;
  margin-top: 12px;
  cursor: pointer;
}

.download-image-btn:hover {
  background: #d7a52d;
}
.share-image-btn {
  background: #bf910c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  transition: all 0.2s;
  margin-right: 10px;
  cursor: pointer;
}
.share-image-btn:hover {
  filter: brightness(0.95);
}

.image-text-container {
  position: relative;
  display: inline-block; 
  width: 100%;           
  max-width: 100%;
}

.image-text-container img {
  display: block;
  width: 100%;
  height: auto;
}

.image-text-overlay {
  position: absolute;
  top: 50%;        
  left: 50%;      
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 2px 2px 12px #000, 0 1px 8px #333;
  font-size: 2rem;
  text-align: center;
  width: 90%;     
  z-index: 2;
  pointer-events: none; 
}
.hero-section {
  position: relative;
  overflow: hidden;
  background: none !important; 
  min-height: 350px; 
  width: 100%;
}
.hero-section_en {
  position: relative;
  overflow: hidden;
  background: none !important; 
  min-height: 350px; 
  width: 100%;
}
.hero-section-second {
  position: revert;
  overflow: hidden;
  background: none !important; 
  min-height: 350px; 
  width: 100%;
}

#fire-sparks {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.hero-section .bg-image {
  display: block;
  width: 100vw;
  min-width: 100%;
  max-width: 100vw;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.custom-info-section {
  padding: 20px 0 0 0;
  text-align: center;
}

.custom-info-section .container {
  margin: 0 auto;
  padding: 0 20px;
}

.custom-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFF8E4;      
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.18);
}
.custom-wide-title {
  display: block;
  max-width: 900px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: 3.2rem;     
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: #FFF8E4;
  padding-bottom: 10px;
}
@media (max-width: 600px) {
  .custom-wide-title {
    max-width: 95vw;
    font-size: 1.3rem;
    padding-left: 6px;
    padding-right: 6px;
  }
}
.custom-section-desc {
  font-size: clamp(15px, 2.4vw, 19px);
  color: #FFF8E4;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.6;
  text-shadow: -1px 1px 17px rgba(0,0,0,1);
}
.order-section {
  padding: 0 0 0 0;
}

.order-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-btn img {
  display: block;
}
.order-btn .btn-img {
   width: clamp(240px, 45vw, 460px);  
   max-width: 100%;
   transition: opacity 0.2s;
   display: block;
}

 .order-btn .btn-img-en {
   width: clamp(240px, 45vw, 460px);
   max-width: 100%;
   transition: opacity 0.2s;
   display: block;
}

/* Podmiana obrazka na hover */
.order-btn .btn-img {
  content: url('../images/btn-rozpocznij-normal_pl.png');
}
.order-btn:hover .btn-img,
.order-btn:focus .btn-img {
  content: url('../images/btn-rozpocznij-hover_pl.png');
}
@media (max-width: 600px) {
  .order-btn .btn-img {
  }
  .order-section {
    padding: 0 0 10px 0;
  }
}

@media screen and (max-width: 991px) {
    .hero-section .bg-image {
      height: 10vh;
      width: 100%;
      object-fit: cover;
    }
    .order-btn img { height: auto; }
  }


.order-btn .btn-img-en {
  content: url('../images/btn-rozpocznij-normal_en.png');
}
.order-btn:hover .btn-img-en,
.order-btn:focus .btn-img-en {
  content: url('../images/btn-rozpocznij-hover_en.png');
}
@media (max-width: 600px) {
  .order-btn .btn-img-en {
  }
  .order-section-en {
    padding: 0 0 10px 0;
  }
}
/* === ORDER BUTTON – wariant v3 (tylko środkowy) === */
.order-btn.order-btn--v3 .btn-img {
  content: url('../images/btn-zamow-normal_pl.png');
}
.order-btn.order-btn--v3:hover .btn-img,
.order-btn.order-btn--v3:focus .btn-img {
  content: url('../images/btn-zamow-hover_pl.png');
}

.order-btn.order-btn--v3 .btn-img-en {
  content: url('../images/btn-zamow-normal_en.png');
}
.order-btn.order-btn--v3:hover .btn-img-en,
.order-btn.order-btn--v3:focus .btn-img-en {
  content: url('../images/btn-zamow-hover_en.png');
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer-section-custom,
.footer-section {
/* background-color: #111; */
  color: #fff;
  padding: 0px 0 0px;
  font-family: 'Outfit', sans-serif !important; 
  font-weight: 300 ; 
  position: relative;
  z-index: 10;
}

/* Branding */
.footer-section .brand,
.footer-section-custom .footer-brand-social .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}
.footer-section-custom .footer-brand-social .brand img {
 max-width: 100%;
  height: auto;
}

/* Social icons */

/* Main footer columns */
.footer-section-custom .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  order: 1;
}
.footer-section-custom .footer-column {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}
.footer-section-custom .footer-column h4 {
  color: #FFFFFF;
  margin-bottom: 15px;
  font-size: 24px;
}
.footer-section-custom .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li {
  margin-bottom: 8px;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a:hover {
  color: #fff;
}

/* Bottom row */
.footer-section-custom .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  justify-content: space-between;
  margin: 20px auto 0;
  padding: 15px 0;
  font-size: 18px;
  color: #ccc;
  gap: 15px;
  order: 2;
  flex: 0 0 100%;
  position: relative;
  z-index: 10;  
  
}

.footer-section-custom .footer-bottom p {
  margin: 0;
}

.footer-section-custom .footer-bottom .links {
  display: flex;
  gap: 20px;
  margin: 0;
}
.footer-section-custom .footer-bottom .links a {
  color: #ccc;
  text-decoration: none;
}
.footer-section-custom .footer-bottom .links a:hover {
  color: #fff;
}

.footer-section p {
  font-size: 12px;
  margin: 0;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(.19,1,.22,1), transform 0.9s cubic-bezier(.19,1,.22,1);
  will-change: opacity, transform;
}
 /* === Crossfade językowych bloków === */
 [data-role="lang"].lang-fade { 
   opacity: 0; 
   transition: opacity .18s ease;
}
 [data-role="lang"].lang-fade.is-visible { 
   opacity: 1; 
+ }


.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section-custom .footer-top {
    flex-direction: column;
    align-items: flex-start;    
    padding-left: 15px;         
  }

  .footer-section-custom .footer-brand-social {
    align-items: center;
  }

  .footer-section-custom .footer-bottom {
    flex-direction: column;
    align-items: flex-start;    
    text-align: left;           
    gap: 10px;
    padding-left: 15px;         
  }
}
.centered-image-section {
  padding: 40px 0 0 0; 
}

.centered-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.centered-img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
}
.centered-img1 {
  display: block;
  max-width: 30%;
  height: auto;
  width: 100%;
}
@media (max-width: 768px){
  .centered-img1{
    max-width: 92vw;   
    width: 92vw;      
    margin-inline: auto;
  }
}

@media (max-width: 420px){
  .centered-img1{
    max-width: 96vw;
    width: 96vw;
  }
}

.centered-img2 {
  display: block;
  max-width: 20%;
  height: auto;
  width: 100%;
}
@media (max-width: 768px){
  .centered-img2{
    max-width: 92vw;   
    width: 80vw;      
    margin-inline: auto;
  }
}

@media (max-width: 420px){
  .centered-img2{
    max-width: 96vw;
    width: 58vw;
  }
}

.overlay-anim-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  pointer-events: none;
}

.overlay-anim-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.overlay-intro-image {
  opacity: 1;
  z-index: 12;
}

.overlay-final-image {
  opacity: 0;
  z-index: 11;
}

body.bg-switch::after {
  opacity: 1;
}
.custom-info-section .container-900 .custom-section-desc {
  display: block;
  max-width: none;     
  width: 100%;         
  margin-left: 0;
  margin-right: 0;
 
  */
}

.custom-info-section .container-900 .custom-bullets.custom-section-desc,
.custom-info-section .container-900 ul.custom-section-desc {
  max-width: none;
  width: 100%;
}
.footer-section-custom .social-link {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

:root{
  --social-size: clamp(40px, 12vw, 64px);
  --social-gap:  clamp(16px, 6vw, 32px);
}

.footer-section-custom .social-link{
  display:flex;
  justify-content:center;
  gap: var(--social-gap);
  padding:0;
}

.footer-section-custom .social-link li{
  width: var(--social-size);
  height: var(--social-size);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.footer-section-custom .social-link a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}

.footer-section-custom .social-link img,
.footer-section-custom .social-link i{
  width:100%;           
  height:auto;
  transform-origin:center;
  transition: transform .2s ease, filter .2s ease;
  will-change: transform;
}

.footer-section-custom .social-link li:hover img,
.footer-section-custom .social-link li:focus-within img{
  transform: scale(1.15);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

@media (hover: none){
  .footer-section-custom .social-link img{ transition: none; }
  .footer-section-custom .social-link li:hover img,
  .footer-section-custom .social-link li:active img{ transform: none; filter:none; }
}

@media (max-width: 400px){
  :root{
    --social-size: clamp(44px, 14vw, 68px);
    --social-gap:  clamp(12px, 4vw, 24px);
  }
}

.footer-section-custom .social-link li:hover img,
.footer-section-custom .social-link li:hover i,
.footer-section-custom .social-link li:focus-within img,
.footer-section-custom .social-link li:focus-within i {
  transform: scale(1.25);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

@media (prefers-reduced-motion: reduce){
  .footer-section-custom .social-link img,
  .footer-section-custom .social-link i { transition: none; }
}
.lang-switch{
  position: fixed; top: 16px; right: 16px; z-index: 9999;
  display: flex; gap: 8px; align-items: center;
}

.lang-btn{
  all: unset;
  display: inline-block;
  cursor: pointer;
  line-height: 0;
}
.lang-btn img{
  display:block;
  width: clamp(72px, 12vw, 144px);
  height: auto;
}
@media (max-width: 480px){
  .lang-btn img{ width: clamp(64px, 18vw, 108px); }
}
.lang-btn:hover,
.lang-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}


html[data-lang="pl"] #to-pl { display: none !important; }
html[data-lang="en"] #to-en { display: none !important; }

.info-row{
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
}

.info-text{ 
  flex: 1; 
  text-align: left;    
}

.info-image{
  flex: 1;
}

.info-image img{
  display: block;
  width: 60%;
  height: auto;
  object-fit: cover;   
}

@media (max-width: 768px){
  .info-row{
    flex-direction: column;
    text-align: center;      
  }
  .info-text{
    text-align: left;        
  }
}

.info-image video{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;        
}

.video-player--small{
  max-width: 600px;         
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;      
  margin: 0 auto;            
}


.info-image{
  display: flex;
  justify-content: center;
}


@media (max-width: 600px){
  .video-player--small{ max-width: 92vw; }
}

#dust-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}

.social-swap {
  position: relative;
  display: inline-flex;
  width: var(--social-size, 56px);
  height: var(--social-size, 56px);
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.social-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  transition: opacity .15s ease;
}
.social-swap .icon-active { opacity: 0; }
.social-swap:hover .icon-active,
.social-swap:focus-visible .icon-active { opacity: 1; }
.social-swap:hover .icon-default,
.social-swap:focus-visible .icon-default { opacity: 0; }


.about-section-box .quote-img{
  display:block;
  margin-inline:auto;
  width: clamp(150px, 80vw, 620px); 
  height:auto;
  animation: floatY 6s ease-in-out infinite alternate;
}

@media (max-width: 420px){
  .about-section-box .quote-img{ width: 85vw; }
}


/* === HERO CTA  === */
.hero-cta-bar{
  position: absolute;
  right:  clamp(30px, 8vw, 80px);      
  bottom: clamp(64px, 12vh, 180px);   
  display: flex;
  flex-direction: column;            
  gap: 20px;                         
  z-index: 50;                        
  pointer-events: auto;
}

.hero-cta{
  position: relative;
  display: inline-block;
  line-height: 0;
  width: clamp(200px, 16vw, 240px);   
  outline-offset: 4px;
  transition: transform .12s ease, filter .12s ease;
  will-change: transform;
}
.hero-cta:hover,
.hero-cta:focus-visible{
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.hero-cta:active{
  transform: translateY(0) scale(0.985);
  filter: none;
}
.hero-cta:focus-visible{
  outline: 2px solid rgba(255,255,255,.65);
  border-radius: 8px;
}

.hero-cta .cta-img{
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta .cta-hover{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none;      
}

.hero-cta .cta-default{
  transition: none;     
}

.hero-cta:hover .cta-hover,
.hero-cta:focus-visible .cta-hover{ opacity: 1; }

.hero-cta:hover .cta-default,
.hero-cta:focus-visible .cta-default{ opacity: 0; }

@media (max-width: 768px){
  .hero-cta-bar{
    gap: 4px;                                      
    bottom: max(20px, env(safe-area-inset-bottom));
    right:  max(12px, env(safe-area-inset-right));
  }
  .hero-cta{
    width: clamp(100px, 28vw, 140px);             
  }
}

/* EN: podmień grafiki na *_en */
html[data-lang="en"] .hero-cta--order .cta-default {
  content: url("../images/btn-rozpocznij-normal_en.png");
}
html[data-lang="en"] .hero-cta--order .cta-hover {
  content: url("../images/btn-rozpocznij-hover_en.png");
}

html[data-lang="en"] .hero-cta--more .cta-default {
  content: url("../images/btn-poznaj-normal_en.png");
}
html[data-lang="en"] .hero-cta--more .cta-hover {
  content: url("../images/btn-poznaj-hover_en.png");
}
/* Pokaż właściwy przycisk „read more” zależnie od języka */
html[data-lang="en"] .hero-cta--more-pl { display: none; }
html[data-lang="pl"] .hero-cta--more-en { display: none; }

