    
#header {
    min-height: 20vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    padding-top: 5vh;
}

.home #header {
    min-height: 100vh;
}


.mapkadiv svg { touch-action: pan-x pan-y pinch-zoom; }


#header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  pointer-events: none; 
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(0 0 0 / 80%) 100%);
  z-index: 2; 
}

.header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(1);
    opacity: .2;
}

.header-sygnet-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 2rem;
    min-height: 85vh;
}

.header-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 15vh;
    border-top: 1px solid white;
}

ul#main-menu-ul li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

    .header-menu {
      display: flex;
      justify-content: center;
      align-items: center;
    position: fixed;
    top: 5vh;
    z-index: 1000;
      width: 100%;
    }

.main-menu-ul {
    display: flex;
    gap: 8rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all .3s;
}

.header-sygnet-section img {
    height: 175px;
    width: fit-content;
    margin-bottom: 5%;
}
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      width: 40px;
      height: 40px;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }
    .hamburger span {
      display: block;
      width: 30px;
      height: 4px;
      background: #111;
      border-radius: 2px;
      transition: .3s;
    }


.haslo-startowe {
    font-size: 1.8rem;
    color: white;
    font-weight: 900;
    width: 30%;
    text-align: center;
    z-index: 3;
    text-transform: uppercase;
}

.podhaslo-startowe {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
    width: 25%;
    text-align: center;
    z-index: 3;
}


.footer-logo img {
    height: 250px;
}

#footer {
    display: flex;
    border-top: 1px solid white;
    margin-top: 20rem;
    padding-bottom: 20rem;
}

.home #footer {
    margin-top: 40rem;
}

.footer-wrapper {
    width: 100%;
}

.footer-logo {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: -160px;
}

.footer-newsletter {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    color: white;
    flex-direction: column;
    align-items: flex-end;
}

.footer-contact-info {
    width: 50%;
    display: flex;
    color: white;
    line-height: 1.3;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 300;
}

.footer-contact-info a {
    color: white;
}

#footer span.contact {
    display: flex;
    margin-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1rem;
}

.footer-phone {
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    overflow: visible;
    margin-top: 5rem;
}

.newsletter-column h3 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: white;
}

form.wpcf7-form {
    display: flex;
    flex-direction: row;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
}

.cf7-cf-turnstile {
    order: 7;
    transform: scale(.7);
}

form.wpcf7-form br {
    display: none;
}

p:has(> .wpcf7-submit) {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-column .wpcf7-submit, #join-modal .wpcf7-submit {
    font-size: 24px;
    height: 11rem;
    width: 11rem;
    font-weight: 100;
    position: absolute;
    top: 0;
    left: 85%;
    border: 1px solid white;
    color: white;
    border-radius: 50%;
    background: #574b3c;
    z-index: 2;
}

.newsletter-column .wpcf7-submit {
    left: 80%;
}

#portfolio-modal {
  position: fixed;
  z-index: 10000; 
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,1);
  display: none;
    justify-content: flex-start;
  align-items: flex-start;
}

div#gallery-masonry {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    width: 90%;
}


p:has(> label.name), p:has(> label.mail) {
    width: 100%;
}

div#join-modal p:has(> label.name), div#join-modal p:has(> label.mail) {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    align-items: flex-start;
}

div#join-modal label.mail span.wpcf7-form-control-wrap {
    display: flex;
}

form.wpcf7-form .wpcf7-text,
form.wpcf7-form .wpcf7-email {
    width: 100%;
}

.footer-newsletter form.wpcf7-form  label.mail, .footer-newsletter form.wpcf7-form  label.name {
    width: 90%;
}

.wpcf7-spinner {
    position: absolute;
    top: 40%;
    right: 50%;
}

.newsletter-column input.wpcf7-text, #join-modal input.wpcf7-text {
    background: transparent;
    padding: 1rem 3rem;
    border: 1px solid #af9778;
    border-radius: 50px;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
    height: 5rem;
}

label.mail, label.phone {
    width: calc(100% - 1.6rem);
}

div#wpcf7-f188-o1, div#wpcf7-f161-o2 {
    position: relative;
}

#footer .wpcf7-response-output, #join-modal .wpcf7-response-output  {
    position: absolute;
    bottom: -10rem;
    padding: 1rem;
    line-height: 1.3;
    width: 50%;
    border: 1px solid #574b3c;
    color: white;
    font-size: 1.2rem;
}

#footer input[aria-invalid="true"], #join-modal input[aria-invalid="true"] {
    border: 1px solid red;
}

span.wpcf7-not-valid-tip {
    display: none;
}

.footer-instagram {
    gap: 1rem;
    display: flex;
}

.thank-you {
    height: 60vh;
    background: url(https://vie-academy.com/wp-content/uploads/2025/07/IMG_3725.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-template-thankyou main#primary {
    min-height: 60vh;
}

.page-template-thankyou #header, .page-template-ebook #header, .page-template-thank-you-ebook #header {
    min-height: 20vh;
    display: none;
}

.thank-you h1 {
    text-align: center;
    font-size: 3rem;
    z-index: 20;
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 100px;
    margin-bottom: 5rem;
}

.before-after-wrap {
  display: grid;
  gap: 16px;
  margin: 16px 0 24px;
  width: 90%;
}

.ba-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10; 
  overflow: hidden;
  background: #f6f6f6;
  height: 80vh;
  max-width: calc(50% - 1rem);
}

.ba-img {
  position: absolute; 
  inset: 0;            
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  user-select: none;
  pointer-events: none;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  transition: width 80ms linear;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  background: transparent;
  outline: none;
  cursor: col-resize;
  z-index: 4;
  margin: 0;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px; height: 100%;
  background: transparent;
}
.ba-range::-moz-range-thumb {
  width: 1px; height: 100%;
  background: transparent; border: 0;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  z-index: 3;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.ba-label { position: absolute; top: 8px; padding: 4px 8px; font-size: 12px; line-height: 1; color: #fff; background: rgba(0,0,0,0.5); border-radius: 4px; z-index: 5; user-select: none; }
.ba-label-before { left: 8px; }
.ba-label-after  { right: 8px; }

div#portfolio-modal {
    flex-direction: column;
}

.before-after-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    width: 90%;
}

a.powrot {
    text-align: center;
    width: 100%;
    color: white;
    display: flex;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 100px;
}

.ba-before { z-index: 1; }
.ba-after  { z-index: 2; clip-path: inset(0 50% 0 0); transition: clip-path 80ms linear; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 100%; background: transparent; }
.ba-range::-moz-range-thumb { width: 1px; height: 100%; background: transparent; border: 0; }


.privacy-policy #header {
    min-height: 20vh;
}

.page-template-generator #header {
    min-height: 10vh;
}

.page-template-thankyou-php .header-menu {
    display: none;
}

.ebook__download {
    display: flex;
    justify-content: center;
    padding: 10rem;
    font-size: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.page-template-thank-you-ebook .thank-you {
    background: none;
    height: auto;
    min-height: 0;
}

.ebook-ty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem 4rem;
}

.ebook-ty-img {
    max-width: 340px;
    width: 30%;
    height: auto;
}

@media (max-width: 600px) {
    .ebook-ty-img {
        width: 60%;
    }
}


@media (max-width: 1024px) {
    .main-menu-ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #000000;
        width: 90vw;
        max-width: 350px;
        padding: 1.5rem 0;
        z-index: 9;
        font-size: 2rem;
        padding: 6rem;
    }
      .main-menu-ul.is-open {
        display: flex;
      }
      .hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
        pointer-events: auto;
      }

      .hamburger span {
        background: #ffffff;
      }

#footer {
    margin-top: 30rem;
}

.footer-newsletter {
    width: 40%;
}

}

@media (max-width: 600px) { 
.haslo-startowe {
  width: 70%;
}

.main-menu-ul {
  font-size: 1.4rem;
}

.podhaslo-startowe {
    width: 80%;
}

.header-sygnet-section {
    min-height: 65vh;
}

#header {
    min-height: 80vh;
}

.footer-content {
    flex-direction: column;
}

.footer-contact-info, .footer-newsletter {
    width: 100%;
}

#footer {
    padding-bottom: 10rem;
}

.header-menu {
    top: 3vh;
}

.header-menu {
    min-height: 8vh;
}

  .main-menu-ul.is-open {
    display: flex;
  }

  .main-menu-ul {
    gap: 4rem;
}

.footer-content {
    gap: 5rem;
}

.newsletter-column h3 {
    margin-bottom: 1rem;
}

.thank-you {
    background-size: 80%;
}

.thank-you h1 {
    text-align: center;
    font-size: 3rem;
    z-index: 20;
    color: white;
    width: 75%;
}

.footer-newsletter {
    align-items: flex-start;
}
}


