/* Custom styles */

/*Ustawienia

*/

html, body {
    margin: 0;
    padding: 0;
    font-family: 'DMSans', sans-serif;
    font-weight: 400;
    
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: border-box;
}
/*fonty*/

@font-face {
  font-family: 'DMSans';
  src: url('../fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DMSans';
  src: url('../fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilda Display';
  src: url('../fonts/GildaDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4 {
    font-family: 'Gilda Display', serif;
    font-weight:400;
    text-transform: uppercase;
    margin: 0;
}

@media only screen and (max-width: 768px){
    h2 {
        font-size: 28px;
        line-height: 36px;
    }
}
p {
    margin: 0;
}
header {
    z-index: 1000;
    position: relative;
}
.s-container {
    max-width: 1280px;
}

.s-regular {
    font-size: 16px;
    line-height: 24px
}

.s-light {
    color: var(--beige);
}
.s-dark {
    color: var(--brown);
}



/*Assety*/

:root {
    --beige: #DAD2BC;
    --red: #C1121F;
    --brown: #413A34;
    --light-beige: #edebe7;
    --ani: all ease 0.3s;
}

.s-button__primary--light, .s-button__primary--dark {
    font-family: 'DMSans', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    padding: 22px 26px;
    position: relative;
    overflow: hidden;
}
.s-button__primary--light {
    color: var(--beige);
}
.s-button__primary--dark {
    color: var(--brown);
}


.s-button__primary--light::before, .s-button__primary--dark::before,
.s-button__primary--light::after, .s-button__primary--dark::after
{
    content: '';
    position: absolute;
    width: 20%;
    height: 20%;
    transition: all 0.4s ease;
}
.s-button__primary--light::before,
.s-button__primary--light::after {
    border: 1px solid var(--beige);
}
.s-button__primary--dark::before,
.s-button__primary--dark::after {
    border: 1px solid var(--brown);
}

.s-button__primary--light::before, .s-button__primary--dark::before {
    top: 6px;
    left: 6px;
    border-bottom: none;
    border-right: none;
}

.s-button__primary--light::after, .s-button__primary--dark::after {
    bottom: 6px;
    right: 6px;
    border-top: none;
    border-left: none;
}

.s-button__primary--light:hover::before, .s-button__primary--dark:hover::before,
.s-button__primary--light:hover::after, .s-button__primary--dark:hover::after {
    width: calc(100% - 14px);
    height: calc(100% - 14px);
}





/*Układ*/

.s-flex {
            display: flex;
            flex-direction: row;
        }

/*Header*/
.s-header {
    justify-content: space-between;
    padding: 16px;
    
    position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	transition: transform 0.3s ease, background 0.3s ease;
}

.s-header--hidden {
	transform: translateY(-100%);
}

.s-header--scrolled {
	background: var(--brown); 
}
.s-header--scrolled .sub-menu {
    padding: 20px;
    background: var(--brown);
}

.s-header > * {
    align-items: center;
}
.s-menu-bar {}
.s-main-menu { 
    list-style: none;
    display: flex;
    gap: 32px;
    position: relative;
    margin-right: 40px;
}
.s-main-menu .menu-item-has-children:after {
    content: '';
    background: url('../../img/chevron-down.svg') no-repeat;
    display: inline-block;
    width: 20px;
    height: 10px;
    margin-left: 6px;


}
.s-main-menu .menu-item-has-children:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
.sub-menu {
    list-style: none;
    padding: 16px 0;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: var(--ani);
}
.sub-menu li {
    margin-top: 12px;
    }

.s-main-menu a { 
    font-family: 'DMSans', sans-serif;
    font-weight: 500;
    color: var(--beige);
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--ani);
}

.s-main-menu li a {
    position: relative;
}

.s-main-menu li a:before {
    content: '';
    display: block;
    width: 0px;
    height: 1px;
    background: var(--beige);
    position: absolute;
    bottom: -3px;
    transition: var(--ani);
}
.s-main-menu li a:hover:before,
.s-main-menu li.current-menu-item > a::before{
    width: 100%;
}


.s-sm-icons {
    gap: 12px;
    margin-right: 24px;
}
a.s-menu-cta{
    font-family: 'DMSans', sans-serif;
    font-weight: 500;
    color: var(--beige);
    text-transform: uppercase;
    text-decoration: none;
    padding: 22px 26px;
    background: var(--red);
    position: relative;
    overflow: hidden;
}

.s-menu-cta::before,
.s-menu-cta::after {
    content: '';
    position: absolute;
    border: 1px solid var(--beige);
    width: 20%;
    height: 20%;
    transition: all 0.4s ease;
}

.s-menu-cta::before {
    top: 6px;
    left: 6px;
    border-bottom: none;
    border-right: none;
}

.s-menu-cta::after {
    bottom: 6px;
    right: 6px;
    border-top: none;
    border-left: none;
}

.s-menu-cta:hover::before,
.s-menu-cta:hover::after {
    width: calc(100% - 14px);
    height: calc(100% - 14px);
}

.s-menu-toggle {
    width: 48px;
    height: 48px;
    display: block;
    background: url('../../img/hamburger.svg') var(--beige) no-repeat;
    display: none;
}

@media only screen and (max-width:1280px){
    .s-header {
        align-items: center;
    }
    .s-header--active{
        background: var(--brown);
    }

    .s-site-img {
        height: 50px;
    }
    .s-menu-toggle {
        display: block;
        cursor: pointer;
    }
    .s-menu-bar {
        opacity: 0;
        visibility:hidden;
        display: none;
        background: var(--brown);
        position: absolute;
        width: 100%;
        flex-direction: column;
        top: 85px;
        left: 0;
        transition: var(--ani);

    }
    .s-menu-bar.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    .s-main-menu {
        flex-direction: column;
        gap: 24px;
    }
    .sub-menu {
        list-style: none;
        padding: 0 0 0 30px;
        position: static;
        opacity: 1;
        visibility: visible;
        transition: var(--ani);
    }
    .s-main-menu .menu-item-has-children:after {
        display: none;
    }
    .sub-menu li {
        margin-top: 24px;
        }
    .s-header > * {
        align-items: flex-end;
        gap: 24px;
    }
    .s-sm-icons {
        gap: 50px;
        justify-content: space-around !important;
        width: 90%;
        margin: auto;
    }
    .s-sm-icons img {
        height: 32px;
    }
    a.s-menu-cta {
        width: calc(100% - 72px);
        text-align: center;
        margin: 0 auto 32px;
    }
}

/*Hero baner*/

.s-hero h1,
.s-hero h2  {
    margin: 24px 0;
}
.s-hero__wrapper {
    background: var(--brown);
    display: block;
    height: 90vh;

}
.s-hero {
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: all 1s ease;
    opacity: 0;
    z-index: 0;
}
.s-hero--active {
    opacity: 1;
    z-index: 1;
}
.s-hero__center {
    color: var(--beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    
}

.s-hero__center__cross {
    width: 45px;
    height: 45px;
    background: url('../../img/cross.svg') no-repeat center;
}

.s-hero__center h1, .s-hero__center h2 {
    font-size: 32px;
    text-align: center;
}

.s-hero__description {
    width: 30%;
    width: 30%;
    margin-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s-hero__description h2 {
    text-align: center;
    color: var(--beige);
    font-size: 48px;
    line-height: 58px;
    letter-spacing: 2px;
}

.s-hero picture, .s-hero img {
    position: absolute;
    inset: 0;
}
#hero1 {
    background: var(--brown); 
    background-size: cover;
    background-position: center;
    position: absolute;
    top:0;
    z-index:1;
}
#hero2 {
    background: url('../../img/hero2-bg.png') no-repeat; 
    background-size: cover;
    background-position: center;
    position: absolute;
    top:0;
    

}
#hero3 {
    background: url('../../img/hero3-bg.png') no-repeat; 
    background-size: cover;
    background-position: center;
    position: absolute;
    top:0;
    
}
@media screen and (max-width: 425px){
    #hero1 {
            background: url('../../img/hero12-bg-mob.png') no-repeat; 
    }
    #hero2 {
            background: url('../../img/hero2-bg-mob.png') no-repeat; 
    }
    #hero3 {
            background: url('../../img/hero3-bg-mob.png') no-repeat; 
    }    
}

.s-hero__navigation {
    display: flex;
    position: absolute;
    bottom: 130px;
    left: 80px;
    z-index: 10;
    gap: 30px;
}

.s-hero__thumbnail {
    display: block;
    padding: 11px 15px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: all 0.5s ease;
}
.s-hero__thumbnail:hover {
    border: 1px solid rgba(218, 210, 188, 0.3);
}
.s-hero__thumbnail--active {
    border: 1px solid var(--beige);
}

@media only screen and (max-width:1280px){
    .s-hero__wrapper {
        background: var(--brown);
        display: flex;
        justify-content: center;
        align-content: flex-end;
        align-items: self-end;
        gap: 64px;
/*        height: 500px;*/
        margin-top: 0;
        
    }
    .s-hero {
        flex-direction: column;
        align-items: center;
        align-content: flex-start;
        justify-content: center;
        gap: 24px;
    }
    .s-hero__center {
        transform: translateX(0);
        position: static;
        gap: 32px;
    }
    .s-hero a {
        text-decoration: none;
    }
    .s-hero__description {
        margin-right: 0;
        width: 60%;
        gap:32px;
    }
    .s-hero__navigation {
        position: absolute;
        left: 50%;
        bottom: 130px;
        transform: translateX(-50%);
        z-index: 10;
        gap: 0px;
        padding: 0 24px;
    }
    .s-hero h1, .s-hero h2 {
        margin: 0;
    }
}

@media only screen and (max-width:768px){
    .s-hero__wrapper {
        height: 90vh;
        width: 100%;
        margin-bottom: 0;
    }
    .s-hero__center__cross {
        display: none;
    }
    .s-hero__center h1, .s-hero__center h2 {
        font-size: 24px;
    }
    .s-hero__description {
        width: 100%;
    }
    .s-hero__description h2 {
        font-size: 32px;
        line-height: 32px;
    }
    .s-hero__navigation {
        bottom: 12vh;
        max-width: 100%;
        overflow: scroll;
    }
}

@media screen and (max-width: 480px){
    .s-hero__description h2 {
        display: none;
    }
    .s-hero__navigation {
        bottom: 12vh;
    }
}

/*    Karuzela logosow */

.s-logos {
    padding: 48px 0;
    background: var(--brown);
    }
.s-logos h2 {
    color: var(--beige);
    text-align: center;
    margin-bottom: 40px;    
}
.s-logos-carousel {
    overflow: hidden;
    display: flex;
    position: relative;
    width: 100%;
}
.s-logos-carousel__track {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center;

    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.s-logos-carousel__item {
  flex: 0 0 auto;
  padding: 0 2rem;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media only screen and (max-width:768px){
    .s-logos h2 {
        font-size: 18px;
        line-height: 28px;
        padding: 0 20px;
    }
    .s-logos-carousel__item {
        height: 50px;
        display: flex;
        align-items: center;
        padding: 0;
        }
    .s-logos-carousel__item img {
        max-height: 50px;
    }

}
/* Cytat */
.s-quote {
    background: var(--brown);
    padding: 48px 0;
    margin: auto;
    background: var(--brown) url('../../img/quote.svg') no-repeat; 
    background-position: top center;

}
.s-quote h2 {
    color: var(--beige);
    font-size: 40px;
    line-height: 52px;
    text-align: center;
    max-width: 958px;
    margin: auto;
}
@media only screen and (max-width: 768px){
    .s-quote {
        padding: 48px 24px;
        margin-top: -1px;
    }
    .s-quote h2 {
        font-size: 28px;
        line-height: 38px;
    }
}

/* Oferta */
.s-offer {
    max-width: 1360px;
    margin: auto;
    padding-bottom: 120px;
}
.s-offer__header {
    padding: 80px 0 40px;
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
}

.s-offer h2 {
    color: var(--brown);
    font-size: 40px;
}

.s-offer__wrapper {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.s-offer__tile *, .s-offer__tile h2 {
    color: var(--beige);
}
.s-offer__tile {
    height: 574px;
    background: var(--brown);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items:flex-end;
    gap: 32px;
    overflow: hidden;
    text-decoration: none;
}
.s-offer__tile-description {
    padding: 32px;
    background: rgba(65, 58, 52, 0.8);
    gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: -255px;
    transition: var(--ani);
}
.s-offer-tile .s-button__primary--light {
    align-self:flex-end;
}
.s-offer__tile:hover .s-offer__tile-description{
    margin-bottom: 0;
}

.s-offer__tile1 {
    background: var(--brown) url('../../img/wnetrza bg.png') no-repeat; 
    background-size: cover;
    background-position: center;
}
.s-offer__tile2 {
    background: var(--brown) url('../../img/nieruchomosci bg.png') no-repeat; 
    background-size: cover;
    background-position: center;
}
.s-offer__tile3 {
    background: var(--brown) url('../../img/dron bg.png') no-repeat; 
    background-size: cover;
    background-position: center;
}
@media only screen and (max-width: 768px){
    .s-offer__header {
        flex-direction: column;
        padding: 80px 20px 40px;
        gap: 40px;
    }
    .s-offer__header h2 {
        font-size: 28px;
        line-height: 38px; 
    }
    .s-offer__wrapper {
        flex-wrap:wrap;
        padding: 0 20px;
    }
    .s-offer h2 {
        font-size: 28px;
    }
    .s-offer__tile {
        height: 400px;
    }
    .s-offer__tile-description {
        align-items: flex-start;
        margin-bottom: -220px;
        padding: 20px;
    }
    .s-offer__tile-description p, .s-offer__tile-description a {
        
    }
    .s-offer__tile1, .s-offer__tile2, .s-offer__tile3 {
        background-position: bottom center;
    }
}
@media screen and (max-width: 500px){
    .s-offer__header {
        gap: 20px;
    }
    .s-offer__tile {
        position: relative;
        width: 100%;
    }
    .s-offer__tile-description {
        position: absolute;
        margin: 0;
        top: calc(100% - 70px);
        left: 0;
    }
}



/*Headshots*/
.s-headshot {
    background: var(--brown);
    min-height: 468px;
    padding-left: 80px;
}
.s-headshot__col1 {
    width: 50%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.s-headshot__col1 h2{
    font-size: 48px;
    line-height: 58px;
}
.s-headshot__col2 {
    width: 50%;
    align-self: flex-end;
    padding: 48px;

}
.s-headshot__col3 {
    background: url('../../img/zdjecia-d-dokumentow.png') no-repeat;
    background-size: cover;
    width: 400px;
}
@media only screen and (max-width: 1200px){
    .s-headshot{
        flex-direction: column;       
    }
}

@media only screen and (max-width: 768px){
    .s-headshot {
        flex-direction: column;
        padding: 0;
        gap: 24px;
    }
    .s-headshot > * {
        padding: 20px;
    }
    .s-headshot__col1 h2{
        font-size: 28px;
        line-height: 38px;
    }
    .s-headshot__col3 {
        height: 250px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .s-headshot__col1 {
        padding-top: 40px;
    }
}
@media only screen and (max-width: 480px){
    .s-headshot > * {
        width: 100%;
        padding: 20px;
    }
   .s-headshot__col1 {
        padding-top: 40px;
       align-items: flex-end;
    }
}

/*Okienko terminu*/
.s-documents__toggle, .s-documents__content {
    position: fixed;
    bottom: 150px;
    right: 60px;
    z-index: 999;
}
.s-documents__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #EDEBE7;
    padding: 40px 40px 24px;
    visibility: hidden;
    opacity: 0;
    transition: var(--ani);
}
.s-documents__content--visible {
    visibility: visible;
    opacity: 1;
}
.s-documents__close {
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    right: 20px;
    top: 20px;
    background: url('../../img/x.svg') no-repeat;
}
.s-documents__content h3 {
    color: var(--brown);
    font-size: 24px;
    line-height: 32px;
    text-transform: none;
    text-align: center;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px){
    .s-documents__toggle  {
        bottom: 74px;
        right: 10px;
    }
    .s-documents__content {
        bottom: 0;
        right: 0;
        padding: 40px 20px 0;
    }

}
/* Korzysci */
.s-advantages, .s-leads {
    background: var(--light-beige);
    padding: 80px 0 97px;
    position: relative;
}

.s-advantages__wrapper, .s-leads__wrapper {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 128px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
    user-select: none;
}

.s-advantages__wrapper::-webkit-scrollbar, .s-leads__wrapper::-webkit-scrollbar {
  display: none;
}

.s-advantages__single, .s-leads__single {
    display: flex;
    flex-direction: row;
    width: 824px;
    flex: 0 0 auto;
}

.s-advantages__description, .s-leads__description{
    padding: 56px 80px 0 56px;
}
.s-advantages__description h3, .s-leads__description h3 {
    font-size: 40px;
    margin-bottom: 12px;
    position: relative;
}
.s-advantages__description h3:before,
.s-leads__description h3:before {
    content: "";
    display: block;
    border: solid var(--brown) 1px;
    border-right: 0;
    border-bottom: 0;
    width: 204px;
    height: 24px;
    position: absolute;
    top: -24px;
    left: -16px;   
}

.s-advantages__arrow, .s-leads__arrow {
    display: block;
    width: 75px;
    height: 75px;
    background: url(../../img/right-arrow.svg) no-repeat;
    -webkit-box-shadow: 1px 13px 32px -18px rgba(65, 58, 52, 1);
    -moz-box-shadow: 1px 13px 32px -18px rgba(65, 58, 52, 1);
    box-shadow: 1px 13px 32px -18px rgba(65, 58, 52, 1);
    border-radius: 50px;
    position: absolute;
    top: 50%;
    right: 80px;
    z-index: 500;
    transform: translatey(-50%);
    cursor: pointer;

}
    
@media only screen and (max-width:768px){
    .s-advantages__wrapper, .s-leads__wrapper {
        padding: 0 20px;
        gap: 20px;
    }
    .s-advantages__single, .s-leads__single {
        width: 75%;
        flex-direction: column;
        overflow: hidden;
    }
    .s-advantages__description, .s-leads__description {
        padding: 20px 0 0;
    }
    .s-advantages__description h3, .s-leads__description h3 {
        font-size: 28px;
        line-height: 38px;
    }
    .s-advantages__description h3:before,
    .s-leads__description h3:before
    {
        display: none;
    }   
}
@media only screen and (max-width:480px){
    .s-advantages__arrow, .s-leads__arrow {
        right: 20px;
    }
    .s-advantages__img img, .s-leads__img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}

/*CTA1*/
.s-cta1 {
    margin: 105px 96px;
    height: 252px;
    justify-content: space-between;
}

.s-cta1__col1 {
    max-width: 744px;
}
.s-cta1__col2 {
    display: flex;
    align-items: flex-end;
}
.s-cta1 h2{
    font-size: 56px;
    line-height: 72px; 
}

@media only screen and (max-width:768px){
    .s-cta1 {
        flex-direction: column;
        margin: 60px 20px;
        justify-content: space-between;
        align-items: end;
        height: auto;
        gap: 40px;
    }
    .s-cta1 h2 {
        font-size: 28px;
        line-height: 38px;
    }
}
@media only screen and (max-width:480px){
    .s-cta1 {
        margin: 120px 20px;
    }
}



/*galeria*/

.s-realizacje {
    margin: 70px;
}
.s-realizacje h2 {
    font-size: 48px;
}
.realizacje-filters {
    list-style: none;
    display: flex;
    gap: 24px;
    text-transform: uppercase;
    margin: 24px 0 0;
    padding: 0;
    cursor: pointer;
}
.realizacje-galleries {
  position: relative;
  height: auto;
    margin-top: 24px;
}
.realizacje-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.realizacje-gallery.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.realizacje-gallery a {
    overflow: hidden;
    background: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
}
.realizacje-gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.realizacje-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.realizacje-gallery a {
    flex: 0 0 calc((100% - 48px) / 4); /* 3 x 16px gap = 48px */
    height: 450px;
}

.realizacje-gallery a:nth-child(-n+3) {
  flex: 0 0 calc((100% - 32px) / 3); /* 2 x 16px gap = 32px */
}

@media only screen and (max-width:1024px){
    .realizacje-gallery a {
        flex: 0 0 calc((100% - 16px) / 2);
        height: 350px;
    }
}

@media only screen and (max-width:768px){
    .s-realizacje {
        margin: 0;
        padding: 20px;
    }
    .s-realizacje h2 {
        font-size: 28px;
        line-height: 38px;
    }
    .realizacje-filters {
        flex-direction: column;
    }
    
}
@media only screen and (max-width:480px){
    .s-realizacje {
        padding: 20px 20px 80px;
    }
    .realizacje-gallery a, .realizacje-gallery a:nth-child(-n+3) {
        flex: 0 0 100%;
        height: 350px;
    }
}

.s-testimonials {
    position: relative;
    padding: 120px 0;
}
.s-testimonials h2 {
    font-size: 40px;
    text-align: center;
    line-height: 48px;
    margin-bottom: 24px;
}
.s-opinie-lista {
    display: flex;
    max-width: 1194px;
    margin: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
    user-select: none;
    
}
.s-opinia {
    padding: 78px 32px 26px;
    flex-shrink: 0;
    width: 387px;
/*    background: var(--light-beige) url('../../img/chevron-down.svg') no-repeat;*/
    background: var(--light-beige) url('../../img/rating.svg') no-repeat;
    background-position: 32px 32px;
}

.s-opinia__tresc {
    font-size: 16px;
    line-height: 24px;
    color: var(--brown);
}
.s-opinia__autor {
    font-family: 'Gilda Display', serif;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--brown);
    margin-top: 24px;
}
.s-opinie__arrow {
    display: block;
    width: 75px;
    height: 75px;
    background: url(../../img/right-arrow-dark.svg) no-repeat;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    right: calc(((100% - 1294px) / 2) + 25px);
    z-index: 500;
    cursor: pointer;
}
@media only screen and (max-width: 1200px){
    .s-testimonials {
        padding-left: 20px;
    }
    .s-opinie__arrow {
        right: 25px;
    }
}
@media only screen and (max-width: 768px){
    .s-opinie-lista {
        overflow-x: scroll;
    }
}
@media only screen and (max-width: 480px){
    .s-testimonials {
        padding: 0 0 64px 20px;
    }
    .s-testimonials h2 {
        text-align: left;
        font-size: 28px;
        line-height: 34px;
    }
}


.s-brand {
    max-width: 1229px;
    margin: 0 auto 120px;
    gap: 80px;
}
.s-brand__content {
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    align-items: flex-end;
}
.s-brand h2 {
    font-size: 48px;
    line-height: 62px;
}
.s-brand .s-button__primary--light{
    text-align: center;
    background: var(--brown);
    margin-top: 40px;
}

@media screen and (max-width:1200px){
    .s-brand {
        flex-direction: column;
        padding: 0 20px 64px;
    }
    .s-brand h2 {
        font-size: 40px;
        line-height: 52px;
    }
}

@media screen and (max-width:768px){
    .s-brand {
        padding: 64px;
    }
    .s-brand img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    .s-brand h2 {
        font-size: 32px;
        line-height: 38px;
    }
}
@media screen and (max-width: 480px){
    .s-brand {
        padding: 64px 20px;
        margin-bottom: 0;
        gap: 20px;
    }
    .s-brand h2 {
        font-size: 28px;
        line-height: 34px;
    }
}

.s-proces {
    max-width: 1229px;
    margin: auto;
    padding: 120px 0;
}
.s-proces h2 {
    text-align: center;
    font-size: 48px;
    line-height: 62px;
    margin-bottom: 40px;
}
.s-proces h3 {
    font-family: 'DMSans', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
}
.s-proces h3::after {
    content: '';
    display: block;
    width: 12px;
    height: 6px;
    background: url(../../img/accordion.svg) no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.s-proces .s-flex {
    gap: 80px;
}

.s-proces__item {
    border-bottom: 1px solid var(--brown);
    padding-bottom: 12px;
    margin: 24px 0 12px 0;
    transition: max-height 0.6s ease;

}

.s-proces__description {
    font-size: 16px;
    line-height: 24px;
}

.s-proces__description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.s-proces__item.active .s-proces__description {
  max-height: 500px;
}

.s-proces h3::after {
  transition: transform 0.6s ease;
}
.s-proces__image img{
    object-fit: cover;
}
.s-proces__item.active h3::after {
  transform: translateY(-50%) rotate(180deg);
}

@media screen and (max-width: 1200px){
    .s-proces {
        padding: 64px;
    }
    .s-proces .s-flex {
        flex-direction: column;
    }
}
@media screen and (max-width:768px){
    .s-proces h2 {
        font-size: 32px;
         line-height: 38px;
    }
    .s-proces__image img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        
    }
}
@media screen and (max-width: 480px){
    .s-proces {
        padding: 64px 20px;
    }
    .s-proces .s-flex {
        gap: 20px;
    }
    .s-proces h2 {
        font-size: 28px;
        line-height: 34px;
        
    }
}
.s-forwhom {
    margin-bottom: 120px;
}
@media screen and (max-width: 480px){
    .s-forwhom {
        margin-bottom: 80px;
    }
}

.s-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 0;
}
.s-faq h2 {
    max-width: 650px;
    margin: auto;
    font-size: 40px;
    line-height: 52px;
    text-align: center;
    padding-top: 64px;
    background: url(../../img/faq-bg.svg) no-repeat;
    background-position: center center;
    margin-bottom: 40px;
}


.s-accordion__item {
    border-bottom: 1px solid var(--brown);
    margin-bottom: 24px;
}
.s-accordion h3 {
    font-family: 'DMSans', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
}

.s-accordion h3::after {
    content: '';
    display: block;
    width: 12px;
    height: 6px;
    background: url(../../img/accordion.svg) no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.s-accordion__description {
    max-width: 80%;
    padding: 12px 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
}
.s-accordion__item.active .s-accordion__description {
    max-height: 500px;
    padding: 12px 0 24px;
}
@media screen and (max-width: 1200px){
    .s-faq {
        padding: 64px 20px;
    }
}
@media screen and (max-width:480px){
    .s-faq {
        padding: 64px 20px;
    }
    .s-faq h2 {
        font-size: 28px;
        line-height: 34px;
        text-align: left;
        background-size: 50px;
    }
    .s-accordion h3 {
        font-size: 16px;
    }
}

.s-blog {
    max-width: 1280px;
    margin: auto;
}
.s-blog__wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
}
.s-blog h3 a{
    text-decoration: none;
    color: var(--brown);
    font-size: 24px;
    display: block;
/*    height: 90px;*/
}
.s-blog__post img {
    display: block;
    width: 410px;
    height: 450px;
    object-fit: cover;
    margin-bottom: 24px;
}

.s-more__btn {
    display: block;
    margin: 60px auto 60px;
    max-width: 200px;
    text-align: center;
    font-family: 'DMSans', sans-serif;
    color: var(--brown);
    text-transform: uppercase;
}
.s-more__btn:hover {
    text-decoration: none;
}
@media screen and (min-width: 1281px){
    .s-blog__post {
        width: 410px;
    }
}
@media screen and (max-width: 1280px){
    .s-blog__wrapper {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px){
    .s-blog__wrapper {
        padding: 0 20px;
    }
    .s-blog__post img {
        max-width: 100%;
    }
}
@media screen and (max-width:480px){
    .s-blog__wrapper {
        gap: 60px;
    }

    .s-blog__post img {
        height: 150px;
    }
}

.s-cta2 {
    max-width: 1280px;
    margin: auto;
    flex-direction: column;
    padding: 104px 0;
    gap: 48px;
    align-items: flex-end;
}
.s-cta2 h2 {
    font-size: 56px;
    line-height: 72px;
}
@media screen and (max-width: 768px){
    .s-cta2 {
        padding: 64px 20px;       
    }
    .s-cta2 h2 {
        font-size: 32px;
        line-height: 38px;
    }
}

.s-form {
    background: var(--brown);
    padding: 72px 80px;
    gap: 80px;
}
.s-form > * {
    width: 50%;
}
.s-form h3 {
    font-size: 40px;
    line-height: 52px;
}
.s-form__col1 h3 {
    margin-bottom: 32px;
}
.s-form__col1 p {
    width: 80%;
}
.wpcf7-form {
    position: relative;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    padding: 16px;
    border: 1px solid var(--beige);
    font-family: 'DMSans', sans-serif;
    font-size: 16px;
    background: none;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
    opacity: 1;
    color: var(--beige);
}
.wpcf7 textarea {
height: 124px;
}


.wpcf7 input[type="submit"] {
    font-family: 'DMSans', sans-serif;
    font-weight: 500;
    color: var(--beige);
    text-transform: uppercase;
    text-decoration: none;
    padding: 22px 26px;
    background: var(--red);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

/* Efekty ramki na hover */
.wpcf7 input[type="submit"]::before,
.wpcf7 input[type="submit"]::after {
    content: '';
    position: absolute;
    border: 1px solid var(--beige);
    width: 20%;
    height: 20%;
    transition: all 0.4s ease;
}
.cf7-zgoda {
    border: none;
    color: var(--beige);
}
.wpcf7 form .wpcf7-response-output {
    border: none !important;
    background: var(--beige);
    color: var(--brown);
    padding: 40px;
    margin: 10px 0;
}
.wpcf7 input[type="submit"]::before {
    top: 6px;
    left: 6px;
    border-bottom: none;
    border-right: none;
}

.wpcf7 input[type="submit"]::after {
    bottom: 6px;
    right: 6px;
    border-top: none;
    border-left: none;
}

.wpcf7 input[type="submit"]:hover::before,
.wpcf7 input[type="submit"]:hover::after {
    width: calc(100% - 14px);
    height: calc(100% - 14px);
}
.cf7-zgoda {
    padding: 0;
}
.cf7-zgoda > p {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.cf7-zgoda input {
    width: 24px;
    height: 24px;
    margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}
#cf7-zgoda-tekst {
    background: var(--beige);
    padding: 16px;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    display: none;
}
#cf7-zgoda-tekst::after {
    content: 'x';
    display: block;
    width: 16px;
    height: 16px;
    color: var(--brown);
    padding: 4px;
    position: absolute;
    top: 0;
    right: 6px;
}
.wpcf7-not-valid-tip {
    margin-top: -17px;
}
@media screen and (max-width: 768px){
    .s-form {
        flex-direction: column;
        padding: 64px 20px;
    }
    .s-form > * {
    width: 100%
    }
    .s-form__col1 h3 {
        margin-bottom: 24px;
    }
}
/*Stopka*/

.s-footer__wrapper {
    padding: 48px 80px 0;
    gap: 80px;
    justify-content: space-between;
}

.s-link-wrapper a {
    display: block;
    text-decoration: none;
    color: var(--brown);
    
}
.s-footer__col1 {
    width: 40%;
}
.s-footer__col2, .s-footer__col3, .s-footer__col4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.s-footer__col1 a{
    display: block;
    text-decoration: none;
    color: var(--brown);
    font-family: 'Gilda Display', serif !important;
    font-size: 18px;

}
.s-footer__logo {
    margin-bottom: 40px;
}
.s-footer__tel, .s-footer__mail, .s-footer__place {
    margin-bottom: 16px;
    padding-left: 24px;
}
.s-footer__tel {
    background: url(../../img/ico-tel.svg) no-repeat;
    background-position: left 5px;
}
.s-footer__mail {
    background: url(../../img/ico-mail.svg) no-repeat;
    background-position: left 2px;
}
.s-footer__place {
    background: url(../../img/ico-place.svg) no-repeat;
    background-position: left top;
}
.s-footer h3 {
    font-size: 24px;
    line-height: 32px;
}
.s-footer__sm-wrapper {
    gap: 40px;
    margin-top: 16px;
}
.s-link-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.s-footer__cta {
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding: 0 40px;
    margin-bottom: 16px;
}
.s-footer__cta img {
    position: absolute;
    top: 0;
    left: 50%;
}
.s-footer__cta a.s-menu-cta {
    background: none;
    color: var(--red);
}
.s-footer__cta a.s-menu-cta::before, .s-footer__cta a.s-menu-cta::after {
    border-color: var(--red);
}
.s-copy {
    background: var(--brown);
    color: var(--beige);
    display: flex;
    justify-content: space-between;
    padding: 16px 40px;
}
.s-copy a {
    color: var(--beige);
}
@media screen and (max-width: 768px){
    .s-footer__wrapper {
        flex-wrap: wrap;
        padding: 20px;
        gap: 24px;
    }
    .s-footer__wrapper > *{
        width: calc((100% - 24px) / 2);
    }
    .s-footer__wrapper .s-site-img {
        height: auto;
    }
    .s-footer__cta  {
        justify-content: space-between;
    }
    .s-footer__cta img {
        position: static;
    }
    .s-footer__cta a.s-menu-cta {
        width: 50%;
        margin: 0;
    }
    .s-copy {
        flex-direction: column;
        gap: 16px;
        align-items: self-end;
    }
}
@media screen and (max-width: 480px){
    .s-footer__wrapper {
        gap: 60px;
    }
    .s-footer__wrapper > *{
        width: 100%;
        }
    .s-footer__cta {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }
    .s-footer__cta a.s-menu-cta {
        width: 100%;
    }
    .s-copy {
        text-align: right;
    }
}


/*OFERTA



*/

.s-hero-wnetrza {
    display: flex;
    justify-content: center;
    align-items: center;
/*    background: url('../../img/hero12-bg.png') no-repeat; */
/*
    background-size: cover;
    background-position: center;
*/
    height: 90vh;
    width: 100%;
}
.s-hero-wnetrza h1, .s-hero-nieruchomosci, .s-hero-dron, .s-hero-dokumenty {
    font-size: 56px;
    line-height: 64px;
    display: block;
    max-width: 30%;
    text-align: center;
    letter-spacing: 2px;
}
@media screen and (max-width: 768px){
    .s-hero-wnetrza h1, .s-hero-nieruchomosci, .s-hero-dron, .s-hero-dokumenty {
        font-size: 32px;
        line-height: 42px;
        max-width: 80%;
    }
}
.breadcrumbs {
    padding: 20px 40px;
    color: var(--brown);
    font-weight: 500;
    text-transform: uppercase;
}
.breadcrumbs span {
    font-weight: 700;
}
.breadcrumbs a {
    text-decoration: none;
    color: var(--brown);
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 480px){
    .breadcrumbs {
        padding: 20px;
    }
}

.s-what {
    padding: 80px 0 120px;
    max-width: 1230px;
    margin: auto;
    gap: 80px;
    align-items:center; 
    }
.s-what h2 {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 16px;
}
@media screen and (max-width: 1200px){
    .s-what {
        padding: 80px 20px 120px;
        width: 100%;
    }
    .s-what > * {
        max-width: calc((100% - 80px) / 2);
        
    }
    .s-what__col2 img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}
@media screen and (max-width: 480px){
    .s-what > * {
        max-width: 100%
    }
    
    .s-what {
        flex-direction: column;
        padding: 80px 20px 60px;
        gap: 20px;
    }
    .s-what h2 {
        font-size: 28px;
        line-height: 34px;
    }
    

}
.s-heading2 {
    max-width: 1280px;
    margin: auto;
}
.s-heading2 h2 {
    font-size: 40px;
    margin-bottom: 40px;
}
@media screen and (max-width:480px){
    .s-heading2 {
        padding:60px 20px 20px;
    }
    .s-heading2 h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 0;
    }
    
}
/*Wideo */
.s-wideo {
    margin: 120px auto;
}
@media screen and (max-width:480px){
    .s-wideo {
        margin: 0 auto 0;
        gap: 40px
    }
}
/*Przed i po */
.s-before {
    max-width: 1274px;
    margin: auto;
    padding: 120px 0;
}
.s-before h2 {
    font-size: 40px;
    line-height: 52px;
    text-align: center;
    margin-bottom: 20px;
}
.s-before p {
    text-align: center;
    margin-bottom: 40px;
}
.s-before__wrapper {
    gap: 40px;
}
.s-before__wrapper > * {
    width: calc((100% - 40px) / 2);
}
.s-before__wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
@media screen and (max-width:1200px){
    .s-before {
        padding: 120px 20px;
    }
    .s-before__wrapper {
        gap: 20px;
    }
    .s-before__wrapper > * {
    width: calc((100% - 20px) / 2);
    }
}
@media screen and (max-width:768px){
    .s-before__wrapper {
        flex-direction: column;
    }
    .s-before__wrapper > * {
        width: 100%;
    }
}
@media screen and (max-width:480px){
    .s-before {
        padding: 64px 20px;
    }
    .s-before h2 {
        font-size: 28px;
        line-height: 34px;
    }
}

    

/*Ciemne CTA*/
.s-cta--dark {
    background: var(--brown);
    max-width: 100%;
    padding: 64px 120px
}
.s-cta--dark, .s-cta--dark h2 {
    color: var(--beige);
}
.s-cta--dark h2 {
    padding: 0;
}
@media screen and (max-width: 768px){
    .s-cta--dark {
        padding: 64px;
    }
}
@media screen and (max-width: 480px){
    .s-cta--dark {
        padding: 64px 20px;
    }
}

/*Usługi dodatkowe */
.s-additionals {
    max-width: 1108px;
    margin: auto;
    padding: 120px 0;
}
.s-additionals h2 {
    font-size: 40px;
    line-height: 52px;
    text-align: center;
    margin-bottom: 48px;
}
.s-additionals__wrapper {
    gap: 40px;
}
.s-additionals__single {
    width: calc((100% - 40px) / 2);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.s-additionals__content {
    padding: 0 24px;
}
.s-additionals__single h3 {
    font-size: 40px;
    display: block;
    position: relative;
    width: 100%;
}
.s-additionals__single h3::before {
    content: '';
    width: 50%;
    height: 20px;
    border: 1px solid var(--brown);
    border-right: none;
    border-bottom: none;
    position: absolute;
    top: -15px;
    left: -24px;
}
.s-additionals__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}
@media screen and (max-width: 768px){
    .s-additionals {
        padding: 64px 20px;
    }

    .s-additionals h2 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 24px;
    }
    .s-additionals__wrapper {
        max-width: 100%;
        overflow: hidden;
        gap: 20px;
    }
    .s-additionals__single {
        width: calc((100% - 20) / 2);
    }
    .s-additionals__single img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    .s-additionals__content h3 {
        font-size: 24px;
        
    }
}
@media screen and (max-width: 480px){
    .s-additionals__wrapper {
        flex-direction: column;
        gap: 64px;
    }
    .s-additionals__single {
        width: 100%;
    }

}
/*    Dokumenty =====================================================================================*/

.page-id-34 .s-header {
    background: var(--brown);
}
.s-dokumenty-hero {
    margin-top: 128px;
}
.s-dokumenty-hero h1 {
    padding: 80px 0 40px;
    font-size: 48px;
    line-height: 62px;
    text-align: center;
}
@media screen and (max-width: 768px){
    .s-dokumenty-hero h1 {
        font-size: 28px;
        line-height: 32px;
    }

}
.s-dokumenty-hero__wrapper {
    background: #EDEBE7;
    padding: 46px;
    gap: 120px;
    justify-content: center;
}
.s-hero__single {
    font-family: 'Gilda Display', sans-serif;
    font-size: 24px;
    color: var(--brown);
    padding: 10px 0 10px 56px;
}
.s-hero__otwarte {
    background: url(../../img/otwarte.svg) no-repeat;
    background-position: 0;
}
.s-hero__szybko {
    background: url(../../img/szybko.svg) no-repeat;
    background-position: 0;
}
.s-hero__godziny {
    background: url(../../img/godziny.svg) no-repeat;
    background-position: 0;
}
@media screen and (max-width: 1200px){
    .s-dokumenty-hero__wrapper {
        gap: 60px;
    }
}
@media screen and (max-width: 768px){
    .s-hero__single {
        font-size: 18px;
    }
}
@media screen and (max-width: 480px){
    .s-dokumenty-hero__wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }
}

.s-umowsie {
    background: var(--brown);
    padding: 60px 80px;
    gap: 80px;
}
.s-umowsie > * {
    width: calc((100% - 80px) / 2);
}
.s-umowsie h2 {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 20px
}
.s-umowsie .s-umowsie__col1 p {
    max-width: 420px;
}
.cf7-flex {
    display: flex;
    gap: 16px;
}
.cf7-flex > * {
    width: calc((100% - 16px) / 2);
}
.cf7-half {
    position: relative;
}
.cf7-half label {
    color: var(--beige);
    position: absolute;
    left: 12px;
    background: var(--brown);
    padding: 5px;
    z-index:1;
}
.cf7-half .wpcf7-form-control {
    padding: 12px;
    background: var(--brown);
    color: #757575;
    border: 1px solid var(--beige);
    font-size: 16px;
    font-family: 'DMSans', sans-serif;
    width: 100%;
    margin-top: 13px;
}
.cf7-half .wpcf7-form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
}
#cf7-zgoda-tekst {
    z-index: 1 !important;
}

.s-umowsie__col2 .wpcf7 input[type="submit"] {
    margin-top: 24px;
}
@media screen and (max-width: 768px){
    .s-umowsie {
        flex-direction: column;
    }
    .s-umowsie > * {
        width: 100%;
    }
    .s-umowsie h2 {
        font-size: 28px;
        line-height: 36px;
    }
}
.s-what__col2 {
    display: flex;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    
}
@media screen and (max-width: 1200px){
    .s-what {
        flex-direction: column;
    }
    .s-what > * {
        max-width: 100%;
    }
}
@media screen and (max-width: 480px){
    .s-umowsie {
        padding: 60px 20px 80px;
    }
    .s-what__col2 {
        gap: 20px;
        align-items: flex-end;
/*        padding-bottom: 80px;*/
    }
    .s-what img {
        width: 100%;
        object-fit: contain;
        height: auto;
    }
}


.s-dlaczegowarto h2 {
    padding: 80px 40px 40px;
    font-size: 40px;
    line-height: 52px;
}
.s-dlaczegowarto__wrapper {
    background: var(--light-beige);
    padding: 64px 80px;
    display: flex;
    gap: 100px;
    justify-content: center;
}
.s-dlaczegowarto__single {
    max-width: 320px;
    padding: 32px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    }
.s-dlaczegowarto__single h3 {
    font-size: 40px;
    line-height: 48px;
    position: relative;
}
.s-dlaczegowarto__single h3::before {
    content: '';
    display: block;
    width: 50%;
    height: 24px;
    border: 1px solid var(--brown);
    border-bottom: none;
    border-right: none;
    position: absolute;
    top: -20px;
    left: -20px;
}
.s-dlaczegowarto__cta {
    background: var(--light-beige);
    padding: 20px 0 60px;
    display: flex;
    justify-content: center;
}
@media screen and (max-width:1200px){
    .s-dlaczegowarto h2 {
        padding: 80px 20px 40px;
    }
    .s-dlaczegowarto__wrapper {
        gap:20px;
        padding: 40px;
    }
    .s-dlaczegowarto__single{
        max-width: calc((100% - 40px) / 3);
    }
    .s-dlaczegowarto__single h3 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media screen and (max-width: 480px){
    .s-dlaczegowarto {
        margin-bottom: 80px;
    }
    .s-dlaczegowarto h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .s-dlaczegowarto__wrapper {
        flex-direction: column;
    }
    .s-dlaczegowarto__single {
        max-width: 100%;
    }

}

/*Portfolio */
.page-id-410 .s-header, .page-id-410 .sub-menu {
    background: var(--brown);
}
.page-id-410 .sub-menu{
    padding: 20px;
}
.s-portfolio-page .s-realizacje {
    margin-top: 128px;
}
.s-portfolio-page .s-realizacje {
    padding: 20px 40px;
}
.s-portfolio-page .breadcrumbs {
    padding: 20px 0;
    margin-bottom: 60px;
}
.s-portfolio-page h1 {
    font-size: 48px;
}

@media screen and (max-width: 1200px){
    .s-portfolio-page .s-realizacje {
        padding: 0;
    }
}
@media screen and (max-width: 768px){
    .s-portfolio-page .s-realizacje {
        padding: 0 20px;
    }
}

/* O mnie */
.page-id-40 .s-header, .page-id-40 .sub-menu {
    background: var(--brown);
}
.page-id-40 .sub-menu{
    padding: 20px;
}
.s-hero-omnie {
    margin-top: 128px;
    background: var(--brown);
    justify-content: center;
    }
.s-hero-omnie > * {
    max-width: calc((1280px - 40px) / 2);
}
.s-hero-omnie h1 {
    font-size: 56px;
    line-height: 130%;
    text-align: center;
}

.s-hero-omnie__col2 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
}
@media screen and (max-width: 1200px){
    .s-hero-omnie {
        margin-top: 87px;
        padding: 40px 40px 0;
    }
    .s-hero-omnie > * {
    max-width: calc((1280px - 80px) / 2);
    }
}
@media screen and (max-width: 768px){
    .s-hero-omnie {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .s-hero-omnie > * {
        max-width: 100%;
    }
    .s-hero-omnie h1 {
        font-size: 32px;
    }
    .s-hero-omnie__col1 img {
        max-width: 100%;
        object-fit: contain;
    }
    .s-hero-omnie__col2 {
        gap: 40px;
    }

}

/* Książka */
.s-ksiazka {
    background: var(--light-beige);
}
.s-ksiazka__col2 {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.s-ksiazka__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.s-ksiazka h2 {
    font-size:32px;
    line-height: 130%;
}

.s-ksiazka .s-regular {
    max-width: 50%;
}
.s-ksiazka .s-regular p{
    margin-bottom: 16px;
}
.s-kod {
    display: flex;
    flex-direction: column;
    max-width: 228px;
    gap: 10px;
    align-self: flex-end;
}
.s-kod__opis {
    font-weight: 700;
    text-align: center;
}
.s-kod__kod {
    display: block;
    padding: 20px 32px;
    color: var(--red);
    border: 1px dotted var(--red);
    text-align: center;
    text-transform: uppercase;
    transition: var(--ani);
}
.s-kod__kod:hover {
    background: var(--red);
    color: #fff;
}


.s-kod a {
    text-decoration: none;
}

@media screen and (max-width: 1200px){
    .s-ksiazka > * {
        max-width: 50%;
        gap: 40px;
    }
    .s-ksiazka img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .s-ksiazka .s-regular {
        max-width: 100%;
    }
    .s-ksiazka__col2 {
        padding: 60px 20px;
    }
    
}
@media screen and (max-width:768px){
    .s-ksiazka {
        flex-direction: column;
    }
    .s-ksiazka > * {
        max-width: 100%
    }
    .s-ksiazka img {
        width: 100%;
        height: 350px;
    }
}

/* Podejście */
.s-podejscie .s-what__col2 {
    align-items: baseline;
}
.s-podejscie .s-button__primary--dark {
    align-self: flex-end;
}
@media screen and (max-width:480px){
    .s-about-page .s-realizacje h2 {
        margin: 32px 0;
    }
    .s-form h3 {
        font-size: 32px;
        line-height: 130%;
    }
}

/* Blog page */
.blog .s-header {
    background: var(--brown);
}
.blog .s-header .sub-menu {
    background: var(--brown);
    padding: 20px;
}

.blog .s-blog__wrapper {
    flex-wrap: wrap;
    
}
.blog h1 {
    font-size: 48px;
    line-height: 130%;
    text-align: center;
    margin-bottom: 40px;
}
.blog .breadcrumbs {
    margin-top: 128px;
}


/* Kontakt */
.page-template-kontakt-php .s-header {
    background: var(--brown);
}
.page-template-kontakt-php .s-header .sub-menu {
    background: var(--brown);
    padding: 20px;
}
.s-section-kontakt {
    margin-top: 128px;
    background: var(--brown);
    padding: 128px 0 64px;
    justify-content: center;
}
.s-section-kontakt > * {
    max-width: calc((100% - 40px) / 2)
}
.s-section-kontakt h1 {
    font-size: 48px;
    line-height: 130%;
}
.s-kontakt__col1 .s-regular {
    max-width: 50%;
}
.s-kontakt__col1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.s-kontakt__tel, .s-kontakt__mail {
    color: var(--beige);
    text-decoration: none;
    padding: 5px 0 5px 25px;
}
.s-kontakt__tel {
    background: url(../../img/kontakt-tel.svg) no-repeat;
    background-position: 0;
}
.s-kontakt__mail {
    background: url(../../img/kontakt-mail.svg) no-repeat;
    background-position: 0;
}
@media screen and (max-width:1200px){
    .s-section-kontakt{
        margin-top: 87px;
    }
}
@media screen and (max-width: 768px){
    .s-section-kontakt{
        flex-direction: column;
        padding: 64px 20px;
    }
    .s-section-kontakt > * {
        max-width: 100%;
        padding: 40px 0;
    }
}
@media screen and (max-width: 480px){
    .s-section-kontakt h1 {
        font-size: 34px;
        line-height: 130%;
    }
    .s-kontakt__col1 .s-regular{
        max-width: 100%;
    }
}


/*Single post =====================================================================================*/
.single-post .s-header {
    background: var(--brown);
}

.post {
    max-width: 800px;
    margin: 200px auto;
    position: relative;
    z-index: 1;
    color: var(--brown);
    
}
.entry-header img {
    max-width: 100%;
    height: auto;
    margin-bottom: 32px;
}
.post h1 {
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 32px;
}
.post h2 {
    margin: 48px 0 32px;
}
.post p {
    font-size: 16px;
    line-height: 200%;
    margin-bottom: 24px;
}
.post a {
    color: var(--brown);
}
.post a:hover {
    text-decoration: none;
}
.s-single__yt iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}
.post ul li {
    margin-bottom: 16px;
}
@media screen and (max-width:768px){
    .post {
        padding: 0 32px;
    }
}

.s-mobile-buttons {
    display: none;
}
@media screen and (max-width:500px){
    .s-mobile-buttons {
        display: block;
        background: var(--brown);
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 15px 0;
        z-index: 99;
        -webkit-box-shadow: 0px -7px 56px -24px rgba(72, 61, 44, 1);
        -moz-box-shadow: 0px -7px 56px -24px rgba(72, 61, 44, 1);
        box-shadow: 0px -7px 56px -24px rgba(72, 61, 44, 1);
    }
    .s-buttons__wrapper{
        display: flex;
    }
    .s-mobile-buttons a {
        display: block;
        width: 100%;
        padding: 10px 20px;
        color: var(--beige);
        text-decoration: none;
        text-align: center;
        }
    .s-btn--messenger {
        background: url(../../img/mess-icon.svg) no-repeat;
        background-position: 14px 2px;
        background-size: 40px;
        border-right: 1px solid var(--beige);
    }
    .s-btn--telefon {
        background: url(../../img/tele-icon.svg) no-repeat;
        background-position:26px 6px;
        background-size: 35px;
    }
}

.grecaptcha-badge {
    display: none !important;
}
/*

==============================
@media screen and (max-width: 480px){
    .s-testimonials {
        overflow: hidden;
    }
}
*/
