/* Base font size */
html { font-size: 18px; }


body .overlay{
  overflow: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;    /* tak, by header był zawsze na wierzchu */
  background-color: #162a2b;
      transition: .3s ease;
}

header.scrolled .navi{
        padding-top: 0.5rem !important;
      padding-bottom: 0.5rem !important;
    transition: .3s ease;
    }

/* Variable Font Imports */
@font-face {
  font-family: 'Inter Italic';
  src: url('../font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* CSS Variables */
:root {
  --color-text: #829091;
  --bg-color: #162A2B;
  --transition-fast: 0.3s;
  --transition-menu: 0.6s ease;
  --basic-color: #A27B5A;
}

/* Reset & Base Styles */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--bg-color);
  font-weight: 400;
  font-family: 'Inter';
  line-height: 2;
}
img { max-width: 100%; height: auto; }
img.radius { border-radius: 2.1875rem; }

/* Focus & Selection */
:focus { outline: none; }
::selection, ::-moz-selection { color: #fff; background-color:  #d48543; }

a{
  color: --color-text;
}
a:hover { color:  var(--basic-color); }

/* Inputs & Buttons */
input, button, select, textarea { outline: none; }

/* Headings Grouped */
h1, h2, h3, h4 {
  color: #fff;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
}
h1 { font-size: 2.778rem; line-height: 3.9rem; font-weight: 400;}
h2 { font-size: 2.222rem; line-height: 3.4rem;}
h3, h4 { font-size: 2.625rem; line-height: 4.5rem; }

span.color{
  color: var(--basic-color);
}

.watermark{
  right: 0;
  top: 20%;
  z-index: -1;
}

h3{
color: #A27B5A;
font-family: Inter;
font-size: 1.667rem;
font-style: normal;
font-weight: 400;
text-decoration: none;
line-height: 200%; /* 60px */
}
.border-bottom{
  border-bottom: 1px solid #F3F3F3;
}

.bordered-top{
  border-top: 2px solid #A27B5A;
}
.bordered-bottom{
  border-bottom: 1px solid #F3F3F3;
}
.menu li a{
  text-decoration: none;
  color: #fff;
  font-weight: 400;
    transition: .3s ease;
}

.current-menu-item a{
  color: #A27B5A !important;
  text-decoration: underline !important;
  text-underline-offset: 10px;
}
.menu li a:hover{
  color: #A27B5A;
  transition: .3s ease;
}

.lista-uslug{
  list-style: none;
  text-decoration: none;
padding-left: 0;
}

.lista-uslug li{
  font-size: 0.778rem;
line-height: 1.8rem;

}
.lista-uslug li a{
text-decoration: none;
  color: #829091;
}

.tytul-uslugi{

}

p{
  font-size: 0.778rem;
}

.menu-list{
  list-style-type: none;
}

 #menu-menu-gorne .menu-item{
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  margin-left: 5rem;

}

/* a img:hover{
  opacity: 0.8;
  transition: --transition-fast;
} */
a img{
  opacity:1;
  transition: --transition-fast;
}

.bigLink{
  color: #A27B5A;

font-family: Inter;
font-size: 1.667rem;
font-style: normal;
font-weight: 400;
text-decoration: none;
line-height: 200%; /* 60px */
}

.formulage{
   padding: 4em;
   border: 1px solid #cccccc1c;
   border-radius: 15px;
}

.btn-cta {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 2px solid #2D3F40;
  border-radius: 15px;
  transition: background .2s, border-color .2s;
}
.btn-cta__title {
 font-size: 1.222rem;
 color: #fff;
 line-height: 2rem;
}
.btn-cta__subtitle {
  font-size: 1.222rem;
 color: #A27B5A;
 line-height: 2rem;
}
.btn-cta__arrow {
  float: right;
  transition: transform .2s;
}
.btn-cta:hover {
  background: rgba(74,85,104,0.1);
  border-color: #2d3748;
}
.btn-cta:hover .btn-cta__arrow {
  transform: translateX(5px);
}

.top-desc{
font-size: 0.722rem;
font-weight: 400;
line-height: normal;
letter-spacing: 3.9px;
text-transform: uppercase;
}

.full-width-image{
  border-radius: 15px;
}

.o-nas img{
 max-height: 60px;
}

.disclaimer {
  color: var(--color-text);
  font-family: "Inter";
  font-size: 0.75rem;
  line-height: 1.33rem;
  color: #cccccc7e;

}
.disclaimer a {
  color: var(--color-text);
  text-decoration: none;

}

footer a{
  text-decoration: none;
  color: inherit;
}

.button-a{
  padding: 12px 34px;
  border-radius: 30px;
  background-color: transparent;
  color: var(--basic-color);
  border: 1px solid #A27B5A;
  font-size: 0.778rem;
       transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex ;
}

.button-a img{
       transition: var(--transition-fast);
}


.button-a:hover{
 background-color: #A27B5A;
 color: #fff;
     transition: var(--transition-fast);
}

.button-a:hover img{
    filter: brightness(2.5);
    transition: var(--transition-fast);
    transform: translateX(0.4rem);
}



.current_page_item a,
.current-page-ancestor a{
  color: --basic-color;
  padding-bottom: 14px;
  border-bottom: 3px solid --basic-color;
}

#menu-menu-dolne .current_page_item a,
#menu-menu-dolne .current-page-ancestor a{
  color: inherit;
  padding-bottom: 0;
  border-bottom: none
}

.overlay-content ul{
  list-style-type: none;
  padding-left: 0;
}

/* Navigation */
.nav > li > a:hover, .nav > li > a:focus {
  background: none;
}

/* Overlay Menu */
.overlay {
  position: fixed;
  top: 0; right: 0;
  width: 0; height: 100%;
  background-color: #162a2b;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 93;

}
.overlay-content {
  position: relative;
  width: 100%;
  text-align: left;
}


.overlay a {
  display: block;
  padding: 0;
  font-size: 30px;
  padding-top:1.5rem;
  padding-bottom:1.5rem;
  border-bottom: 1px solid #ffffff31;
  color: --color-text;
  transition: var(--transition-fast);
  line-height: normal;
  text-decoration: none;
}

.overlay-button a{
 padding: 12px 34px;
  border-radius: 30px;
  background-color: #A27B5A;
  color: #fff ;
  border: 1px solid #A27B5A;
  font-size: 0.778rem;
  transition: var(--transition-fast);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}


.nav {
  list-style-type: none;
  padding-left: 0;
}
.overlay .closebtn {
  position: absolute;
  top: 20px; right: 1.25rem;
  font-size: 60px;
}

#menu-menu-gorne {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin-top: auto;
  margin-bottom: auto;
}

#menu-menu-dolne li{
  color: --color-text;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
  line-height: 250%; /* 35px */
}

#menu-menu-dolne{
  padding-left: 0;
  list-style: none;
}

/* Hamburger Menu */
.menu-bar {
  position: relative;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 18px;
  cursor: pointer;
}
.bar {
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: transform var(--transition-fast) ease-in-out;
}
.menu-open .bar:first-child {
  transform: translateY(14px) rotate(45deg);
  background-color: #fff;
}
.menu-open .bar:nth-child(2) {
display: none;
}
.menu-open .bar:last-child {
  transform: translateY(-2px) rotate(-45deg);
  background-color: #fff;
}
.menu-bar.menu-open::before,
header.menu-open p,
header.menu-open .underline {
  color: #fff;
  transition: color var(--transition-menu);
}

.menu ul{
  display: flex;
  flex-direction: row;


}



/* Underline Utility */
.underline {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.gallery-item {
  width: 100%;
  margin-bottom: 1rem;
}


  /* Ustawiamy linki menu jako flex, tekst do lewej, ikonki do prawej */
  #myNav .overlay-content .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    
  }
  .faq-question h3 {
    margin: 0;
    font-size: 0.778rem;
    font-weight: normal;
    line-height: 3rem;
  }
  .faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.3s ease;
  }
  /* UKRYWAMY przez max-height i opacity, a nie display */
  .faq-answer {
    font-size: 0.778rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    line-height: 1.4;
    color: #555;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  /* Gdy aktywne – tekst stanie się widoczny */
  .faq-item.active .faq-answer {
    opacity: 1;
  }
  /* Obrót ikonki przy otwarciu */
  .faq-item.active .faq-toggle {
    transform: rotate(180deg); /* plus → „×” */
  }


.fancybox__toolbar__column button{
  display: none;
}
.fancybox__toolbar__column button:last-child{
  display: flex !important;
}



/* 1) Kontener overlay musi być relative, żeby pseudo-elementy mogły się pozycjonować względem niego */
.overlay-content {
  position: relative;
}

/* 2) Spraw, by linki miały pełną szerokość i padding tylko z lewej */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a {
  display: block;
  width: 100%;
  position: relative;
  text-align: left;
}

/* 3) Pseudo-element strzałki – absolutnie względem <a>, ale dzięki szerokości 100% zawsze będzie przy prawej krawędzi overlay */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;                     /* przy prawej krawędzi linka (czyli overlay) */
  transform: translateY(-50%);
  width:16px;                  /* dopasuj do rozmiaru obrazka */
  height:16px;
  background: url('../images/arrow-right.png') no-repeat center center;
  background-size: contain;
}


.overlay-content .menu-menu-gorne-container ul.menu li.menu-item.current_page_item a{
  font-weight: 700;
}

.wpcf7 input, .wpcf7 select{
  padding: 1em;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 100%;
  margin-top: 10px;
}

.wpcf7 select{
  padding: 1.4em;
}
.wpcf7 label{
  width: 100%;
  color: #fff;
}

.wpcf7-acceptance label{
  display: flex;
} 

.wpcf7-acceptance input{
  width: initial;
  padding: 0.3em;
  height: 20px;
  margin-top: initial;
  margin-right: 10px;
  margin-top: 5px;
}

.wpcf7-submit{
  padding: 12px 34px !important;
  border: initial;
  border-radius: 30px !important;
  background-color: #A27B5A;
  color: #fff;
  width: initial !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #cccccc30;
    border-radius: 15px;
}


ul li{
	font-size: 0.778rem;
}

.rounded{
	border-radius: 30px !important;
}

@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

/* Container */
.container {
  padding: 0 1.5rem;
  /* jeśli potrzebujesz centrowania: margin: 0 auto; */
}

/* Duże monitory (1441px i więcej) */
@media (min-width: 1441px) {
  .container {
    max-width: 84rem;
  }
}

/* Ekrany od 1366px do 1440px – kontener zawsze 1240px */
@media (min-width: 1366px) and (max-width: 1440px) {
  .container {
    max-width: 1240px;
  }
}

/* Laptopy i mniejsze monitory (do 1365px) */
@media (max-width: 1365px) {
  .logo-top {
    max-width: 330px;
  }
  .container {
    max-width: 77.5rem;
    padding: 0 2rem;
  }
}

/* Typowe laptopy (do 1366px) */
@media (max-width: 1366px) {
  html {
    font-size: 18px;
  }
}

/* Tablety oraz małe laptopy i urządzenia w poziomie (do 1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
   #menu-menu-gorne .menu-item{
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  margin-left: 2rem;

}

}

/* Tablety oraz małe laptopy w pionie (do 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 66.68rem;
    padding: 0 1.5rem;
  }

  .formulage{
   padding: 1em;
   border: 1px solid #cccccc1c;
   border-radius: 15px;
}
}

/* Smartfony i małe urządzenia (do 576px) */
@media (max-width: 576px) {

  html {
    font-size: 15px;
  }
  .container {
    max-width: 42.54rem;
    padding: 0 1rem;
  }
h1{
      font-size: 2rem;
      line-height: 3rem;
}

h2{
  font-size: 1.7rem;
  line-height: 3rem;
}
.btn-cta__title, .btn-cta__subtitle{
  font-size: 1rem;
}

}

/* Bardzo wąskie (do 360px) */
@media (max-width: 360px) {

}