@charset "utf-8";

/* Copyright ENDEA */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --accent-first: #C49C64;
    --accent-second: #9A7F5A;
    --accent-third: #E9E5E2;
    --accent-fourth: #DED4C8;
    --accent-fifth: #F3F0ED;
    --accent-brown: #29160F;
    --black-color: #141414;
    --white-color: #FFFFFF;
}

html, body {
    background: var(--white-color);
    font-family: "Manrope", sans-serif;
    line-height: 1.7;
    color: var(--black-color);
    font-weight: 300;
}

body {
    padding-top: 60px;
    padding-bottom: 0px;
    font-size: 15px;
}

body.main-page {
    padding-top: 60px;
}

@media (min-width: 992px) {

    body {
        padding-top: 90px;
        font-size: 16px;
    }
    body.main-page {
        padding-top: 90px;
    }
}
@media (min-width: 1200px) {

    body {
        font-size: 17px;
    }
}
@media (min-width: 1600px) {

    body {
        font-size: 18px;
    }
}


h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    line-height: 1.5;
    margin-top: 40px;
    margin-bottom: 20px;
}
h1, .h1 {
    font-size: 22px;
    font-weight: 300;
}
h2, .h2 {
    font-size: 19px;
    font-weight: 300;
}
h3, .h3 {
    font-size: 17px;
    font-weight: 300;
    color: var(--accent-first);
}
h4, .h4 {
    font-size: 17px;
    font-weight: 300;
}

@media (min-width: 768px) {

    h1, .h1 {
      font-size: 33px;
    }
    h2, .h2 {
        font-size: 26px;
    }
    h3, .h3 {
        font-size: 21px;
    }
    h4, .h4 {
        font-size: 19px;
    }
}

a {
    color: var(--accent-first);
    text-decoration: none;
    transition: color .3s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--accent-first);
}


/* --- strona główna: banner --- */

.mb-wrapper {
    position: relative;
    margin-bottom: 25px;
}

@media (min-width: 992px) {

    .mb-wrapper {
        margin-bottom: 40px;
    }
}
@media (min-width: 1200px) {

    .mb-wrapper {
        margin-bottom: 50px;
    }
}
@media (min-width: 1600px) {

    .mb-wrapper {
        margin-bottom: 75px;
    }
}

.m-banner {
    margin: 0;
    background: url(../img/baner-small.webp);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.m-banner-fx {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 322px;
}

.m-banner-txt {
    font-family: "Manrope", sans-serif;
    width: 100%;
}

.m-banner-txt h1 {
    color: var(--accent-first);
    margin: 0;
    font-size: 33px;
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 3px 3px 6px var(--accent-brown);
}

.m-banner-txt p {
    color: var(--white-color);
    margin-top: 50px;
    margin-bottom: 5px;
    font-size: 25px;
    text-shadow: 3px 3px 6px var(--accent-brown);
}

@media (min-width: 360px) {

    .m-banner-txt h1 {
        font-size: 36px;
        padding-right: 40px;
    }
    .m-banner-txt p {
        font-size: 30px;
    }
}

@media (min-width: 576px) {

    .m-banner {
        background: url(../img/baner.webp);
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }
    .m-banner-txt {
        width: 50%;
    }
    .m-banner-txt h1 {
        width: 100%;
        font-size: 40px;
        text-shadow: none;
    }
    .m-banner-txt p {
        font-size: 33px;
        margin-top: 0;
        text-shadow: none;
    }
}

@media (min-width: 768px) {

    .m-banner-fx {
        height: 360px;
    }
    .m-banner-txt h1 {
        font-size: 43px;
    }
    .m-banner-txt p {
        font-size: 35px;
        margin-bottom: 5px;
    }
}

@media (min-width: 992px) {

    .m-banner-fx {
        height: clamp(500px,calc(100vh - 90px),600px);
    }
    .m-banner-txt h1 {
        font-size: 50px;
    }
    .m-banner-txt p {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {

    .m-banner-fx {
        height: clamp(550px,calc(100vh - 90px),650px);
    }
    .m-banner-txt h1 {
        font-size: 65px;
    }
    .m-banner-txt p {
        font-size: 50px;
    }
}

@media (min-width: 1600px) {

    .m-banner-fx {
        height: clamp(600px,calc(100vh - 90px),750px);
    }
    .m-banner-txt h1 {
        font-size: 70px;
    }
    .m-banner-txt p {
        font-size: 55px;
        margin-bottom: 10px;
    }
}

@media (min-width: 1920px) {

    .m-banner-fx {
        height: clamp(700px,calc(100vh - 90px),900px);
    }
    .m-banner-txt h1 {
        font-size: 85px;
    }
    .m-banner-txt p {
        font-size: 65px;
    }
}

@media (min-width: 1970px) {
    .m-banner {
        width: 1920px;
        margin: 0 auto;
    }
}


/* --- animation (strona główna) --- */

.animP1 {
    position: relative;
    animation: fadeInP1 1.5s ease-in-out;
}
@keyframes fadeInP1 {
    0%   {opacity: 0;}
    20%   {opacity: 0; left:0px; top:-10px;}
    100%  {opacity: 1; left:0px; top:0px;}
}

.animH1 {
    position: relative;
    animation: fadeInH1 2.5s ease-in-out;
}
@keyframes fadeInH1 {
    0%   {opacity: 0;}
    40%   {opacity: 0; left:0px; top:10px;}
    100%  {opacity: 1; left:0px; top:0px;}
}


/* --- Strona główna: headers --- */

.m-hd {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .m-hd {
        margin-bottom: 45px;
    }
}
@media (min-width: 1200px) {
    .m-hd {
        margin-bottom: 50px;
    }
}
@media (min-width: 1400px) {
    .m-hd {
        margin-bottom: 60px;
    }
}

.m-hd h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: var(--accent-first);
}

@media (min-width: 420px) {

    .m-hd h2 {
        font-size: 33px;
    }
}
@media (min-width: 576px) {

    .m-hd h2 {
        font-size: 43px;
    }
}
@media (min-width: 768px) {

    .m-hd h2 {
        font-size: 48px;
    }
}
@media (min-width: 992px) {

    .m-hd h2 {
        font-size: 60px;
    }
}
@media (min-width: 1200px) {

    .m-hd h2 {
        font-size: 70px;
    }
}
@media (min-width: 1600px) {

    .m-hd h2 {
        font-size: 75px;
    }
}


/* --- m-btn --- */

.m-btn {
    margin-top: 30px;
    margin-bottom: 2px;
    display: table;
}

@media (min-width: 420px) {
    .m-btn {
        margin-top: 45px;
    }
}

.m-btn-in {
    display: flex;
    align-items: center;
    line-height: 1;
}

.m-btn-in::before {
    content: url(../img/border-l.svg);
    width: 30px;
    height: 45px;
}

.m-btn-in::after {
    content: url(../img/border-r.svg);
    width: 30px;
    height: 45px;
}

.m-btn-txt {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 3px;
    height: 45px;
    color: var(--black-color);
    line-height: 1;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    transition: color .3s ease-in-out;
}

.m-btn-txt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-first);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease-in-out;
}

.m-btn > a:hover .m-btn-txt::before,
.m-btn > a:focus .m-btn-txt::before {
    transform: scaleX(1);
    transform-origin: left;
}

.m-btn-txt::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-first);

    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s ease-in-out;
}

.m-btn > a:hover .m-btn-txt::after,
.m-btn > a:focus .m-btn-txt::after {
    transform: scaleX(1);
    transform-origin: right;
}

@media (min-width: 1200px) {

    .m-btn-txt {
        font-size: 16px;
    }
}


/* --- strona główna: wrappers --- */

.m-site-wrapper {
    padding: 50px 0;
    line-height: 1.7;
    overflow: hidden;
}
@media (min-width: 1200px) {

    .m-site-wrapper {
        padding: 80px 0;
    }
}
@media (min-width: 1600px) {

    .m-site-wrapper {
        padding: 120px 0;
    }
}
@media (min-width: 1970px) {
    .m-site-wrapper {
        width: 1920px;
        margin-left: auto; margin-right: auto;
    }
}


/* --- m-site-fx, mr-site-fx --- */

.m-site-fx, .mr-site-fx {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 50px;
}

.m-site-gless {
    gap: 0;
}

@media (min-width: 992px) {

    .m-site-fx {
        flex-direction: row;
    }
    .mr-site-fx {
        flex-direction: row-reverse;
    }
    .m-site-fx, .mr-site-fx, .m-site-gless {
        gap: 60px;
    }
}

@media (min-width: 1200px) {

    .m-site-fx, .mr-site-fx, .m-site-gless {
        gap: 70px;
    }
}

@media (min-width: 1600px) {

    .m-site-fx, .mr-site-fx, .m-site-gless {
        gap: 80px;
    }
}


/* --- m-site-content & m-site-img --- */

.m-site-content, .m-site-img {
    width: 100%;
}

.m-site-img {
    display: flex;
    justify-content: center;
}

.m-site-img img {
    max-height: 400px;
    max-width: 100%;
    margin-top: 15px;
}

.img-shw img {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {

    .m-site-img img {
        max-height: 450px;
    }
}
@media (min-width: 1200px) {

    .m-site-img img {
        max-height: 500px;
    }
}


/* --- strona główna: specjalizacje --- */

.category-boxes-fx {
    margin: 30px 0 10px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
}

.category-box {
    width: 100%;
    background: var(--accent-fifth);
    transition: all .3s ease-in-out;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.category-box:hover,
.category-box:focus,
.category-box.active {
    background: var(--accent-first);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}

@media (min-width: 576px) {

    .category-box {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (min-width: 992px) {

    .category-box {
        flex: 0 0 calc((100% - 60px) / 3);
    }
}

@media (min-width: 1400px) {

    .category-boxes-fx {
        margin-top: 45px;
        gap: 45px;
    }
    .category-box {
        flex: 0 0 calc((100% - 90px) / 3);
    }
}

.category-box a {
    display: block;
    padding: 35px 25px;
    width: 100%;
    height: 100%;
}

.category-box-name {
    margin: 0;
    padding: 0 0 20px;
    font-size: 16px;
    font-weight: 300;
    color: var(--accent-brown);
    text-transform: uppercase;
}

.category-box-txt p {
    color: var(--black-color);
    font-size: 14px;
    margin: 0;
}

@media (min-width: 768px) {

    .category-box-name {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {

    .category-box-name {
        font-size: 20px;
    }
    .category-box-txt p {
        font-size: 16px;
    }
}

@media (min-width: 1600px) {

    .category-box-name {
        font-size: 22px;
    }
    .category-box-txt p {
        font-size: 17px;
    }
}


/* --- m-site-hv-wrapper, bcg-30, bcg-70 --- */

.container-rel {
    position: relative;
}

.m-site-hv-wrapper {
    padding: 50px 0;
}

.bcg-30, .bcg-70 {
    position: relative;
}

.bcg-70::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 30%;
    background: var(--accent-third);
}

@media (min-width: 992px) {

    .m-site-hv-wrapper {
        display: flex;
        align-items: center;
        height: clamp(600px,calc(100vh - 60px),700px);
    }
    .bcg-30 {
        background: linear-gradient(90deg, var(--white-color) 72%, var(--accent-fourth) 72%);
    }
    .bcg-70::before {
        height: 60%;
        background: linear-gradient(90deg, var(--accent-third) 72%, var(--white-color) 72%);
    }
}
@media (min-width: 1200px) {

    .m-site-hv-wrapper {
        height: clamp(700px,calc(100vh - 60px),750px);
        padding: 80px 0;
    }
}
@media (min-width: 1600px) {

    .m-site-hv-wrapper {
        height: clamp(700px,calc(100vh - 60px),800px);
        padding: 120px 0;
    }
}
@media (min-width: 1920px) {

    .m-site-hv-wrapper {
        height: clamp(700px,calc(100vh - 60px),920px);
    }
}
@media (min-width: 1970px) {
    .m-site-hv-wrapper {
        width: 1920px;
        margin-left: auto; margin-right: auto;
    }
}


/* --- Strona główna: o mnie --- */

span.p-upp {
    text-transform: uppercase;
    font-weight: 300;
}

/* --- Strona główna: gabinet --- */
/* --- bcg-50-fx --- */

.bcg-50-fx {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background-color: var(--accent-brown);
    line-height: 1.7;
    margin: 50px 0;
    overflow: hidden;
}

.bcg-50-content, .bcg-50-img {
    width: 100%;
}

.bcg-50-content {
    display: flex;
    justify-content: center;
    background-color: var(--accent-brown);
    padding: 50px 15px;
}

.bcg-50-img {
    background: url(../img/gabinet-small.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 320px;
}

@media (min-width: 576px) {
    .bcg-50-fx {
        margin: 50px 0 80px;
    }
}

@media (min-width: 768px) {
    .bcg-50-img {
        height: 450px;
    }
}

@media (min-width: 992px) {

    .bcg-50-fx {
        flex-direction: row-reverse;
        background-color: transparent;
        margin: 80px 0;
    }
    .bcg-50-content, .bcg-50-img {
        width: 50%;
    }
    .bcg-50-content {
        justify-content: flex-start;
        padding: 70px 50px;
    }
    .bcg-50-img {
        background: url(../img/gabinet.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 308px;
        margin: 50px 0;
    }
}

@media (min-width: 1200px) {

    .bcg-50-fx {
        margin: 100px 0;
    }
    .bcg-50-content {
        padding: 115px 100px;
    }
     .bcg-50-img {
        height: 408px;
    }
}

@media (min-width: 1600px) {

    .bcg-50-fx {
        margin: 150px 0;
    }
    .bcg-50-content {
        padding: 140px 150px;
    }
     .bcg-50-img {
        height: 467px;
    }
}

@media (min-width: 1970px) {
    .bcg-50-fx {
        width: 1920px;
        margin-left: auto; margin-right: auto;
    }
}

.m-content-boxes-fx {
    display: flex;
    justify-content: flex-start;
}

.m-cnt-in {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}

.m-content-box-fx {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: var(--white-color);
    gap: 20px;
}

.m-content-box-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 576px) {

    .m-cnt-in {
        align-items: flex-start;
    }
    .m-content-box-fx {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }
    .m-content-box-txt {
        align-items: flex-start;
    }
}

.m-content-box-icon {
    width: 70px;
    text-align: center;
}

.m-content-box-icon img {
    max-width: 100%;
    margin-top: 10px;
}

span.p-size {
    font-size: 1.2em;
}

.font-acc {
    color: var(--accent-first);
}

td.font-acc-wdt {
    width: 160px;
}

@media (min-width: 360px) {

    td.font-acc-wdt {
        width: 190px;
    }
}
@media (min-width: 992px) {

    td.font-acc-wdt {
        width: 200px;
    }
}
@media (min-width: 1400px) {

    td.font-acc-wdt {
        width: 210px;
    }
}


/* --- m-btn-cl --- */

.m-btn-cl {
    margin-top: 25px;
    margin-bottom: 2px;
    display: table;
}

.m-btn-in-cl {
    display: flex;
    align-items: center;
    line-height: 1;
}

.m-btn-in-cl::before {
    content: url(../img/border-l.svg);
    width: 30px;
    height: 45px;
}

.m-btn-in-cl::after {
    content: url(../img/border-r.svg);
    width: 30px;
    height: 45px;
}

.m-btn-txt-cl {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 3px;
    height: 45px;
    color: var(--white-color);
    line-height: 1;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    transition: color .3s ease-in-out;
}

.m-btn-txt-cl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-first);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease-in-out;
}

.m-btn-cl > a:hover .m-btn-txt-cl::before,
.m-btn-cl > a:focus .m-btn-txt-cl::before {
    transform: scaleX(1);
    transform-origin: left;
}

.m-btn-txt-cl::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-first);

    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s ease-in-out;
}

.m-btn-cl > a:hover .m-btn-txt-cl::after,
.m-btn-cl > a:focus .m-btn-txt-cl::after {
    transform: scaleX(1);
    transform-origin: right;
}

@media (min-width: 1200px) {

    .m-btn-txt-cl {
        font-size: 16px;
    }
}


/* --- Podstrona: headers --- */

.s-hd {
    margin: 30px 0;
}

@media (min-width: 992px) {
    .s-hd {
        margin: 50px 0 45px;
    }
}
@media (min-width: 1200px) {
    .s-hd {
        margin: 60px 0 50px;
    }
}
@media (min-width: 1400px) {
    .s-hd {
        margin: 70px 0 60px;
    }
}

.s-hd h1 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: var(--accent-first);
}

@media (min-width: 420px) {

    .s-hd h1 {
        font-size: 33px;
    }
}
@media (min-width: 576px) {

    .s-hd h1 {
        font-size: 43px;
    }
}
@media (min-width: 768px) {

    .s-hd h1 {
        font-size: 48px;
    }
}
@media (min-width: 992px) {

    .s-hd h1 {
        font-size: 60px;
    }
}
@media (min-width: 1200px) {

    .s-hd h1 {
        font-size: 70px;
    }
}
@media (min-width: 1600px) {

    .s-hd h1 {
        font-size: 75px;
    }
}

.marless {
    margin-top: 0;
}

.content-wrapper-subpage h2,
.content-wrapper-subpage h3 {
    color: var(--accent-first);
    font-weight: 300;
}



/* --- s-site-fx --- */

.s-site-fx {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 50px;
}

@media (min-width: 992px) {

    .s-site-fx {
        flex-direction: row;
        gap: 60px;
    }
}
@media (min-width: 1200px) {

    .s-site-fx {
        gap: 70px;
    }
}
@media (min-width: 1600px) {

    .s-site-fx {
        gap: 80px;
    }
}


/* --- s-site-content & s-site-img --- */

.s-site-content, .s-site-img {
    width: 100%;
}

.s-site-img {
    display: flex;
    justify-content: center;
    padding: 0 10px 10px 0;
}

.s-site-img img {
    max-height: 400px;
    max-width: 100%;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {

    .s-site-img img {
        max-height: 450px;
    }
}
@media (min-width: 992px) {

    .s-site-img {
        padding: 10px 10px 10px 0;
    }
}
@media (min-width: 1200px) {

    .s-site-img img {
        max-height: 500px;
    }
}


/* --- costs-boxes --- */

.costs-boxes {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-right: 8px;
    margin-bottom: 30px;
    gap: 20px;
}

.cost-box {
    text-align: center;
    width: 100%;
    border: 1px solid var(--accent-second);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.cost-box a {
    display: block;
    padding: 20px;
    color: var(--black-color);
    height: 100%;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.cost-box a:hover {
    background-color: var(--accent-fifth);
}

.cost-name > p {
    color: var(--accent-first);
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.cost-box a > p {
    font-size: 14px;
    margin: 10px 0 0;
}

@media (min-width: 768px) {

    .costs-boxes {
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
    }
    .cost-box {
        width: 100%;
    }
    .cost-name > p {
        color: var(--accent-first);
        font-size: 16px;
        font-weight: 300;
        margin: 0;
    }
    .cost-box a > p {
        font-size: 14px;
        margin: 10px 0 0;
    }
}
@media (min-width: 992px) {

    .cost-box {
        width: 300px;
    }
    .cost-box a {
        padding: 20px 30px;
    }
    .cost-name > p {
        font-size: 19px;
    }
    .cost-box a > p {
        font-size: 15px;
    }
}

@media (min-width: 1200px) {

    .cost-box {
        width: 300px;
    }
    .cost-name > p {
        font-size: 20px;
    }
    .cost-box a > p {
        font-size: 16px;
    }
}


/* --- stopka --- */

.footer-main {
    width: 100%;
    margin-top: 50px;
    background: var(--accent-third);
    font-size: 13px;
    font-weight: 400;
    color: var(--black-color);
}

.footer-main a {
    color: var(--black-color);
}
.footer-main a:hover,
.footer-main a:focus {
    color: var(--accent-first);
}

.footer-boxes {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 0;
}

.footer-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.footer-box-in {
    width: 100%;
}

.footer-adress-box, .footer-phone-box, .footer-mail-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-adress-box, .footer-phone-box {
    padding-bottom: 15px;
}

.footer-logo-box {
    display: none;
}

.footer-adress-img, .footer-phone-img, .footer-mail-img {
    width: 30px;
    margin-right: 20px;
    text-align: center;
}

.footer-adress-img img {
    height: 30px;
    margin-top: 5px;
}

.footer-phone-img img {
    height: 28px;
    margin-top: 5px;
}

.footer-mail-img img {
    width: 30px;
    margin-top: 5px;
}

p.ft-p-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

.footer-adress-txt, .footer-phone-txt, .footer-mail-txt {
    max-height: 70px;
    overflow: hidden;
}

.footer-adress-txt p, .footer-phone-txt p, .footer-mail-txt p {
    margin: 0;
}

@media (min-width: 576px) {

    .footer-box {
        flex-direction: row;
    }
    .footer-box-in {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 992px) {

    .footer-main {
        margin-top: 70px;
        margin-bottom: 10px;
        background: linear-gradient(90deg, var(--accent-third) 50%, var(--accent-fifth) 50%);
        font-size: 14px;
    }
    .footer-boxes {
        flex-direction: row;
        padding: 50px 0;
        box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    }
    .footer-box {
        width: 50%;
    }
    .footer-adress-img {
        width: auto;
        margin-right: 15px;
    }
    .footer-phone-img, .footer-mail-img {
        width: 30px;
        margin-right: 15px;
    }
    .footer-adress-img img {
        height: 25px;
    }
    .footer-phone-img img {
        height: 25px;
    }
    .footer-mail-img img {
        width: 27px;
    }
    p.ft-p-name {
        font-size: 16px;
    }
    .footer-adress-txt, .footer-phone-txt {
        max-height: none;
        height: 75px;
    }
    .footer-mail-txt {
        max-height: 75px;
    }
    .footer-logo-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .footer-logo-img img {
        height: 60px;
    }
}

@media (min-width: 1970px) {
    .footer-main {
        width: 1920px;
        margin-left: auto; margin-right: auto;
    }
}

.footer-sub {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 13px;
    background: var(--white-color);
    font-weight: 400;
    color: var(--black-color);
}

.footer-sub a {
    color: var(--accent-first);
}
.footer-sub a:hover,
.footer-sub a:focus {
    color: var(--accent-brown);
}

.footer-sub-boxes {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-sub-box {
    width: auto;
}

.footer-sub-toright {
    padding-top: 15px;
    text-align: left;
}

@media (min-width: 992px) {

    .footer-sub-boxes {
        flex-direction: row;
    }
    .footer-sub-box {
        width: 50%;
    }
    .footer-sub-toright {
        padding-top: 0;
        text-align: right;
    }
}


/* --- social-icons ---*/

.social-icons {
    position: fixed;
    right: 0;
    bottom: 80px;
    margin: auto;
    background: var(--accent-first);
    padding: 13px 10px;
    text-align: center;
    box-shadow: 3px 3px 6px var(--black-color);
}

.social-icons > a {
    display: flex;
    color: var(--accent-brown);
}

.social-icons > a > img {
    max-width: 28px;
}

.social-icons > hr {
    height: 1px;
    margin: 13px 0;
    background-color: var(--accent-fourth);
}

/* --- all: listy i punktory --- */

.c-list {
    list-style-image: url(../img/list-image1.svg);
    padding-left: 35px;
}
.c-list li {
    padding: 3px 0 5px 5px;
    border-bottom: 0px;
}

.c-list-2 {
    list-style-image: url(../img/list-image2.svg);
    padding-left: 35px;
}
.c-list-2 li {
    padding: 3px 0 5px 5px;
    border-bottom: 0px;
}


/* --- cta-box-1 --- */

.cta-box-1 {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
}

.cta-bx1-txt,
.cta-bx1-act {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 30px 15px 30px 25px;
    color: var(--white-color);
    font-size: 19px;
    font-weight: 600;
}

.cta-bx1-txt {
    background: var(--accent-brown);
    text-align: center;
}

.cta-bx1-act {
    background: var(--accent-first);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    transition: background .3s ease-in-out;
}

.cta-bx1-act:hover,
.cta-bx1-act:focus {
    background: var(--accent-second);
    color: var(--white-color);
}

.cta-bx1-act-icon {
    width: 50px;
}

.cta-bx1-act-icon img {
    max-height: 30px;
    width: auto;
}

.cta-bx1-act-txt {
    color: var(--white-color);
}

@media (min-width: 992px) {

    .cta-box-1 {
        flex-direction: row;
    }
    .cta-bx1-txt {
        width: 50%;
        height: 90px;
        text-align: left;
    }
    .cta-bx1-act {
        width: 50%;
        height: 90px;
        justify-content: left;
    }
}

@media (min-width: 1200px) {

    .cta-bx1-txt,
    .cta-bx1-act {
        height: 100px;
        font-size: 29px;
        padding: 27px 15px 30px 25px;
    }
}