:root {
    --text-color: rgba(0, 0, 0, 0.9);
    --link_color: #d80000;
    --link-hover-color: #bf0000;
    --link-active-color: #9a0101;

    --primar_color_2: #f9f9ff; /* background body */
    --primar_color_2: #fffdfd; /* background body */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.75rem;
    background-color: var(--primar_color_2);
}


a, a:visited {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    color: #bf0000;
    text-decoration: none;
}

svg {
    fill: var(--text-color);
}

a:hover svg {
    fill: #bf0000;
}


@media (min-width: 576px) {
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
}


header {

}

main {

}

footer {

}


section {
    padding-top: 5rem;
}

.section_wrap {
    margin-right: auto;
    margin-left: auto;
    padding-left: 1rem;
    padding-right: 1rem;

}

.section_wrap h2 {
    line-height: 2.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 690px;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
}

.h3_wrap {
    text-align: center;
}

/*
.section_wrap h3 {
    width: fit-content;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    padding: 0.2rem 1.4rem;
    background-color: #e0eefd;
    border-radius: 1rem;
}
*/
.section_wrap h3 {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    padding: 0.2rem 1.4rem;
    background-color: #e0eefd;
    background-color: #ffdddf;
    border-radius: 1rem;
}

.section_wrap h5 {
    font-size: 1.1rem;
    width: fit-content;
    text-align: center;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    margin-bottom: 2rem;
}

.section_wrap h6 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


@media (min-width: 576px) {
    .section_wrap {
        max-width: 540px;
    }

    .section_wrap h2 {
        line-height: 2.5rem;
        font-size: 2.5rem;
        font-weight: 700;
    }

}

@media (min-width: 768px) {
    .section_wrap {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .section_wrap {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .section_wrap {
        max-width: 1140px;
    }
}


nav {

}

.header_nav {
    top: 0;
    position: fixed;
    z-index: 1000;
    height: 4rem;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
}


header nav li {
    list-style: none;
}

header nav a {
    text-decoration: none;
}

nav.navbar {
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    width: inherit;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #d10c0c;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
}

.nav-link:hover {
    color: #bf0000;
}

.nav-logo {
    font-size: 2.1rem;
    font-weight: 500;
    color: #bf0000;
}

@media only screen and (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.02);
        padding-top: 5rem;
        padding-bottom: 5rem;
        opacity: 0.95;

    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active .nav-link {
        font-size: 1.5rem;
        font-weight: 800;
        color: black;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* ------------------------------------*/


footer {
/ / border-top: 1 px solid rgba(0, 0, 0, 0.2);
    padding-top: 0.5rem;
    margin-top: 1rem;
}

footer .section_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

footer ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin: 0.5rem 0.5rem 0.5rem 0;
    height: 2rem;
    line-height: 2rem;
}

.cookie {
    font-size: 0.85rem;
    line-height: 0.85rem;
    margin: 0.5rem 0 0;
    color: rgb(0, 0, 0, 0.6);
}

.copyright {
    font-size: 0.85rem;
    line-height: 0.85rem;
    margin: 0 0 1rem;
    color: rgb(0, 0, 0, 0.6);
}

@media (min-width: 1200px) {

    footer .section_wrap {
        flex-direction: row;
        margin-bottom: 1.25rem;
    }

    footer ul li {

    }

    .cookie {
        font-size: 1rem;
        line-height: 1rem;
        margin: 0;
    }

    .cookie li {
        margin-right: 2rem;
    }

    .copyright {
        font-size: 1rem;
        line-height: 1rem;
        margin: 0;
    }


    #footer_item_1 {
        order: 2;
    }

    #footer_item_2 {
        order: 3;
    }

    #footer_item_3 {
        order: 1;
    }
}


/* -----------Contact -----------------------*/

#contacts .section_wrap {

}

#contacts .section_wrap h6 {
    font-weight: 600;
    color: black;
}

#contacts #contact_card_2 div {

}

#contact_card_2 {
    flex-grow: 0;
    color: black;
    width: 100%;
    padding: 1.5rem;
}


.contact_container {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(#ffeef1, transparent);
    border-radius: 2rem;
}

.contact_container h6 {
    font-weight: 600;
    color: black;
}

#contact_card_wrap_1 {
    flex-grow: 1;
    width: 100%;

}


.contact_card {
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    margin: 3rem;
}

#contact_card_1 {
    border-radius: 1rem;
    background-color: rgb(255, 255, 255);
    margin: 1.5rem;
    padding: 1.5rem;
}


.contact_author {
    margin-top: 24px;
    display: flex;
    align-items: end;
    margin-bottom: 2rem;
}

.contact_image {
    object-position: center;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    border-radius: 9999px;
}

.contact_name {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.8);
}

textarea, input {
    font-size: 1rem;
    padding: 0.875rem 0;

    margin-bottom: 1rem;
    border-width: 0;
    border-color: rgb(238, 238, 238);
    border-bottom-width: 1px;
    font-family: Roboto;
    width: 100%;
}

textarea:focus, input:focus {
    border-width: 0;
    outline: none;
    border-color: black;
    border-bottom-width: 1px;
}

form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.form_row_items input {
    width: 100%;
}

.form_row_items input:first-child {
    margin-right: 0rem;
}

.form_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

textarea {
    height: 6rem;
}

button {
    border-radius: 2rem;
    padding: 1rem 2rem;
    background-color: #d60202;
    color: white;
    outline: none;
    border: 0;
    cursor: pointer;
    margin: 2rem 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);

}

button:focus, button:hover {
    background-color: #bf0000;
}

button:active {
    background-color: #8f0000;
}

@media (min-width: 992px) {
    .contact_container {
        flex-direction: row-reverse;
    }

    #contact_card_wrap_1 {
        flex-grow: 1;
        width: 10%;

    }

    #contact_card_1 {
        padding: 3rem;
        margin: 3rem;
    }

    #contact_card_2 {
        width: 300px;
        flex-grow: 0;
        color: black;
        padding: 3rem 0;
        margin: 3rem;

    }

    .form_row_items input {
        width: calc(50% - 0.5rem);
    }

    .form_row_items input:first-child {
        margin-right: 1rem;
    }

}


/*--------------------------------faq -----------------*/

.faq_wrap {
    margin-right: 1rem;
    margin-left: 1rem;
}

.faq_container {
    max-width: 785px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    border-radius: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem;
    margin-bottom: 4rem;
    background-color: white;
}

.faq_row {
    padding: 0;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

.faq_title {
    color: rgb(35, 35, 35);
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 26px;
    padding-right: 26px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq_content {
    color: rgb(89, 89, 89);
    padding: 0 26px 0 26px;
    border-top: 1px solid rgb(0 0 0 / 0.1);
    font-size: 1.125rem;
    line-height: 1.50rem;
    font-weight: 300;
    transition: opacity 0.3s ease-out, padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}


.faq_title::after {
    content: "+";
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
}

.faq_row.active .faq_title::after {
    content: "-";
}

.faq_row.active .faq_content {
    padding-top: 30px;
    padding-bottom: 30px;
    opacity: 1;
    height: auto;
}

.faq_row:last-child {
    border: 0;
}


/*-----------------------transformation ---------*/


.transformations_container {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.25rem;
    row-gap: 1.25rem;
    margin: 1rem;
}

.transformations_card {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    border-radius: 1rem;
}
.transformations_card:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.15), 0 16px 32px rgba(0, 0, 0, 0.15), 0 32px 64px rgba(0, 0, 0, 0.15);
}

.transformations_img {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0.6rem;
    object-fit: cover;
    margin: 0;
    padding: 0;
    display:block;
}

@media (min-width: 768px) {
    .transformations_container {
        column-gap: 2rem;
        row-gap: 2rem;
        margin: 5rem;

    }
}

@media (min-width: 992px) {
    .transformations_container {
        grid-template-columns: 1fr  1fr;
        column-gap: 2rem;
        row-gap: 2rem;
        margin: 5rem;

    }
}


/*- -------------- reference -----------------*/

.reference_container {

    display: grid;
    grid-template-columns: 1fr;
    padding-top: 1rem;
}


.reference_card {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    position: relative;
    padding-bottom: 3rem;

}

.reference_quotation_mark {
    position: absolute;
    font-size: 9rem;
    text-align: left;
    top: 1.5rem;
    left: 4rem;
    color: #dfdfdf;
    font-weight: 100;
    z-index: 20;
}


.reference_card_in {
    padding: 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
}

.reference_message {
    font-style: italic;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
    flex-grow: 1;
}

.reference_author {
    margin-top: 24px;
    display: flex;
}

.reference_image {
    object-position: center;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    width: 56px;
    height: 56px;
    margin-right: 1rem;
    border-radius: 9999px;
}

.reference_name {
    color: rgba(0, 0, 0, 0.8);
}

.reference_location {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1rem;
    font-weight: 300;
}

@media (min-width: 992px) {
    .reference_container {
        grid-template-columns: 1fr 1fr;
    }
}


/* -------------------------------showroom ----------- */
/*
.swiper {
    overflow: hidden;
    max-width: 1200px;
    padding-bottom: 0rem !important;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 18px !important;
}
.swiper-pagination-bullet-active {
    background-color: red !important;
}
.swiper-button-next, .swiper-button-prev {
    color: red !important;
}
*/

.swiper {
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 30px 20px;
}


.card-list .card-item {
    height: auto;
    color: #fff;
    user-select: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.swiper_img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 2px 1px 11px 1px rgba(0,0,0,0.5);
    border:1px solid rgba(0,0,0,0.3);

}
.swiper_img:hover {
    box-shadow: 2px 1px 11px 1px rgba(0,0,0,0.7);
}

.swiper-slide-button {
    color: #ff0000 !important;
    margin-top: -55px;
    transition: 0.2s ease;
}

.swiper-pagination-bullet-active  {
    background-color: red !important;
}


/* ---------------------------steps ------------*/

.step_number_wrap {
    width: 100%;
    position: relative;
    top: -2rem;
}

.step_number {
    margin-left: auto;
    margin-right: auto;
    width: 3rem;
    height: 3rem;
    background-color: #2f2f88;
    border-radius: 100px;
    line-height: 3rem;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.steps_container {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.25rem;
    row-gap: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.step_card_wrap {
    //background-color: #fdf5f5;
    border-radius: 2rem;
    padding: 0 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(64, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 8px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.02), 0 16px 32px rgba(0, 0, 0, 0.02), 0 32px 64px rgba(0, 0, 0, 0.02);

}


.step_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.step_sign_wrap {
    width: 8rem;
    height: 8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
    vertical-align: center;
    border-radius: 100rem;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.3);
}

#step_1 .step_sign_wrap {
    background: #e9edff;
}

#step_2 .step_sign_wrap {
    background: #fce7fd;
}

#step_3 .step_sign_wrap {
    background: #fffedf;
}

#step_4 .step_sign_wrap {
    background: #caeac2;
}

.step_sign {
    width: 4rem;
    height: 4rem;
    opacity: 0.8;
}

.step_name {
    font-size: 1.25rem;
    line-height: 1.25rem;
    //text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    color: black;
    margin-bottom: 2rem;

}

.step_list {
    margin-bottom: 1rem;
}

.step_list ul {
    list-style: none;
}

.list_item {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
}

.list_item_text {
    font-size: 1.1rem;
    line-height: 1.1rem;
    padding: 0.5rem;
    flex-grow: 1;

}

.check {
    height: 15px;
    width: 8px;
    border-bottom: 4px solid green;
    border-right: 4px solid green;
    transform: rotate(45deg);
    margin: 0.5rem;
}

@media (min-width: 768px) {
    .steps_container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (min-width: 992px) {
    .steps_container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/* ------------------- why us ------------- */
.why_us {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
}

.why_us_card {
    width: 100%;
}

.why_us_img {
    width: 100%;
    height: auto;
/ / margin-top: 2 rem;

    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    border-radius: 2rem;

}

.why_us_card_img {
    padding-left: 2rem;
    padding-right: 2rem;
    filter: drop-shadow(0px 0px 8px #737373);
}

.why_us_card h2, .why_us_card h3, .why_us_card h5 {
    text-align: center;
}

.why_us_card h5 {
    margin-bottom: 3rem;
}

.why_us_list {
    margin-left: 1rem;
    font-size: 1rem;
    margin-bottom: 3rem;
    color: #0d4d00;
    font-weight: 400;
}

.leaf {
    width: 2rem;
    height: 2rem;
    margin-right: 0.6rem;
    opacity: 1;
    margin-top: 0.3rem;
    filter: brightness(0) saturate(100%) invert(23%) sepia(9%) saturate(7107%) hue-rotate(72deg) brightness(95%) contrast(104%);

}


.why_us_list_item {
    display: flex;
    margin-bottom: 0.3rem;
}

#why_us_card_a {
    order: 2;
}

#why_us_card_b {
    order: 1;
}

@media (min-width: 768px) {
    .why_us {
        flex-flow: row;
    }

    .why_us_card {
        width: 50%;
    }

    .why_us_card  h2, .why_us_card .h3_wrap, .why_us_card h5 {
        margin-left: 1rem;
        text-align: left;
    }

    .why_us_img {
        margin-top: 6rem;
    }

    #why_us_card_a {
        order: 1;
    }

    #why_us_card_b {
        order: 2;
    }
}

/* ------------------------- service --------------------*/


.service_container {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
    box-sizing: border-box;
}


.service_card_wrap {


}

.service_card {
    height: 100%;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}


.service_card img {
    width: 100%;
    height: 250px;
    aspect-ratio: auto;
    border-radius: 0.6rem 0.6rem 0 0;
    object-fit: cover;
}

.service_card h6 {
    padding: 1rem 1rem 1rem 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 8px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom:2px solid red;

}

.service_card .service_text {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0 1rem 1rem 1rem;
    line-height: 1.25rem;
    color: #6a6a6a;
}

div.service_button_wrap {
    flex-grow: 1;
    padding: 0;
    padding-bottom: 1rem;
    margin: 0;
    display: flex;
    align-items: flex-end


}

.service_card button {
    width: fit-content;
    margin: 0 0 0 1rem;
    padding: 0.5rem 1rem;

}

@media (min-width: 768px) {
    .service_container {
        grid-template-columns: 1fr  1fr;
        column-gap: 2rem;
        row-gap: 2rem;
        margin: 0 ;

    }
}

@media (min-width: 992px) {
    .service_container {
        grid-template-columns: 1fr  1fr 1fr;
        column-gap: 2rem;
        row-gap: 2rem;
        margin: 0 ;

    }
}


/* ----------------------- hero -------------- */


.hero {
    display: flex;
    flex-direction: column;
}

.hero p {
/ / text-align: justify;
}

.hero_card_a {
    padding-right: 0rem;
}

.hero_card_b {
    display: none;
}


.hero_company {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero_logo {
    width: 110px;
    height: 110px;
    margin-right: 1rem;
}

.hero h1 {
    line-height: 3rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    margin: 0;
}

.hero h2 {
    line-height: 1.5em;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.4);
    margin: 0;
    text-align: left;
}

.hero p {
    line-height: 1.5rem;
    font-size: 1rem;
    font-weight: 400;
}

.hero_img_frame {
    border-radius: 3rem;
    border: solid 1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);

    margin-left: 3rem;
    margin-right: 3rem;
    margin-bottom: 5rem;
}

.hero_img {
    aspect-ratio: auto;
    border-radius: 2rem;
    object-fit: cover;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}


.hero ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
}

.hero ul li {
    margin-right: 1.25rem;
    height: 40px;
    line-height: 40px;
}

@media (min-width: 992px) {
    .hero {
        display: flex;
        flex-direction: row;
    }

    .hero_img_frame {
        width: 400px;
    }

    .hero h1 {
        line-height: 5rem;
        font-size: 5rem;
        font-weight: 700;
        color: rgba(0, 0, 0, 0.9);
        margin: 0;
    }

    .hero_card_a {
        padding-right: 5rem;
    }

    .hero_card_b {
        display: block;
    }
}

.h {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("../img/hero/hero1.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;

}

.hh {
    text-shadow: 4px 3px 9px rgba(0, 0, 0, 1);

    //width: 80%;
    //border-top-right-radius: 5rem;
    //border-bottom-right-radius: 5rem;
}

.h_h1 {
    line-height: 4rem;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 4px 3px 9px rgba(0, 0, 0, 1);
    padding-left: 2rem;


}

.h_h2 {
    padding-left: 2rem;
    line-height: 1.25rem;
    font-size: 1.25rem;
    font-weight: 400;

    margin-top: 2rem;
    text-align: left;
    color: #fffdfd;

}

hr {
    height: 0;
    max-width: 6rem;
    margin-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-top: 5px solid rgba(255, 255, 255, 1);

}

.h_p {

    padding-left: 2rem;
    text-shadow: 4px 3px 9px rgba(0, 0, 0, 1);
    margin-right: 3rem;
    font-size: 1rem;
    line-height: 1.25rem;
    border-radius: 0 1rem 1rem 0;
    color: #fffdfd;
}

.h_s {
    display: flex;
    flex-direction: row;
    padding-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.h_n {
    position: absolute;
    bottom: 2rem;
    right:0;

    width: 100%;
    text-align: center;
    animation-name: horizontal-shaking;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 2000ms;
    //animation-direction: alternate;
}

.h_button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0px 0px 10px rgb(0 0 0 / 31%);
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    border: 1px solid rgba(255, 255, 255,0.4);

}

#h_button_a  {
    width: 50px;
    height: 50px;
}

.h_button_symbol {
    display: inline-block;
    width:15px;
    height:15px;
    border: 5px solid rgba(221, 1, 63, 0.9);
    border-bottom-width: 0;
    border-left-width: 0;
    rotate: 135deg;


}

@keyframes next {
    from {bottom: 2rem;}
    to {bottom: 1rem;}
}

@keyframes horizontal-shaking {
    0% { transform: translateY(0) }
    5% { transform: translateY(5px) }
    10% { transform: translateY(-5px) }
    15% { transform: translateY(5px) }
    20% { transform: translateY(0) }
}



@media screen and ( max-height: 375px )
{

    .h_s {
        display: none;
    }
}


.h a, .h a:visited {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-block;
    width: 70px;
}

.h a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.h svg {
    fill: rgba(255, 255, 255, 0.9);
}

.h a:hover svg {
    fill: rgba(255, 255, 255, 0.9);
}


.hero {
    display: none;
}

@media (min-width: 576px) {
    .h {
        display: none;
    }


}

/* --- NOVÉ STYLING KONTAKTŮ (karty vedle sebe + mapa pod nimi) --- */

/* obal celé sekce kontaktů */
.contact_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(#ffeef1, transparent);
    border-radius: 2rem;
    padding: 2rem;
}

/* skupina tří karet */
.contact_cards_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

/* jednotlivé karty */
.contact_card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    width: 280px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* jemný efekt při najetí */
.contact_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* jména a titulky */
.contact_card h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
}

.contact_name {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
}

/* fotka osoby */
.contact_image {
    object-position: center;
    object-fit: cover;
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 9999px;
}

/* mapa */
.contact_map_wrap {
    width: 100%;
    margin-top: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* samotná mapa */
#map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
}

/* RESPONSIVE — na mobilu karty pod sebou */
@media (max-width: 768px) {
    .contact_cards_wrap {
        flex-direction: column;
        align-items: center;
    }

    .contact_card {
        width: 90%;
    }

    .contact_map_wrap {
        margin-top: 1.5rem;
    }
}

/* --- KONTAKTY: Jednatel uprostřed, pod ním dvě karty vedle sebe, mapa dole --- */

.contact_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(#ffeef1, transparent);
    border-radius: 2rem;
    padding: 2rem;
}

/* grid pro tři karty */
.contact_cards_wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "jednatel"
        "navrhar"
        "vedouci";
    gap: 2rem;
    width: 100%;
    justify-items: center;
}

/* jednotlivé karty */
.contact_card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    width: 280px;
    text-align: center;
}

/* přiřazení do gridu */
.contact_card.jednatel { grid-area: jednatel; }
.contact_card.navrhar { grid-area: navrhar; }
.contact_card.vedouci { grid-area: vedouci; }

/* mapa pod kartami */
.contact_map_wrap {
    width: 100%;
    margin-top: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
}

/* --- DESKTOP VERZE --- */
@media (min-width: 992px) {
    .contact_cards_wrap {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            ". jednatel ."
            "navrhar . vedouci";
        justify-items: center;
        align-items: start;
    }
}

/* --- MOBIL VERZE --- */
@media (max-width: 768px) {
    .contact_cards_wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "jednatel"
            "navrhar"
            "vedouci";
        width: 100%;
    }

    .contact_card {
        width: 90%;
        margin: 0 auto 1.5rem auto;
    }

    .contact_map_wrap {
        margin-top: 1.5rem;
    }
}
/* --- KONTAKTNÍ KARTY - BEZ HOVER POSUNU, PEVNĚ CENTROVANÉ --- */

.contact_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(#ffeef1, transparent);
    border-radius: 2rem;
    padding: 2rem;
}

.contact_cards_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.contact_card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    width: 280px;
    text-align: center;
}

.contact_card h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
}

.contact_image {
    object-fit: cover;
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 9999px;
}

.contact_name {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 0.5rem;
}

/* mapa */
.contact_map_wrap {
    width: 100%;
    margin-top: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact_cards_wrap {
        flex-direction: column;
        align-items: center;
    }

    .contact_card {
        width: 90%;
	margin: 0 auto 1.5rem auto; /* vycentrování na střed */
    }

    .contact_map_wrap {
        margin-top: 1.5rem;
    }
}
/* --- KONTAKTY: 3 KARTY VEDLE SEBE + MAPA DOLE --- */

.contact_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(#ffeef1, transparent);
    border-radius: 2rem;
    padding: 2rem;
}

/* tři karty v jedné řadě */
.contact_cards_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

/* jednotlivé karty */
.contact_card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    width: 280px;
    text-align: center;
}

/* texty a fotky */
.contact_card h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
}

.contact_image {
    object-fit: cover;
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 9999px;
}

.contact_name {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 0.5rem;
}

/* mapa */
.contact_map_wrap {
    width: 100%;
    margin-top: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
}

/* --- MOBILNÍ ZOBRAZENÍ --- */
@media (max-width: 768px) {
    .contact_cards_wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact_card {
        width: 90%;
        margin: 0 auto 1.5rem auto;
    }

    .contact_map_wrap {
        margin-top: 1.5rem;
    }
}
/* --- STEJNÁ VÝŠKA KARET --- */
.contact_cards_wrap {
    align-items: stretch; /* všechny karty mají stejnou výšku */
}

.contact_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* rovnoměrně rozdělí obsah */
}

/* aby jméno, obrázek a text byly seskupené nahoře */
.contact_card .contact_author {
    flex-grow: 1;
}

/* mobilní zobrazení - zachováno centrování */
@media (max-width: 768px) {
    .contact_cards_wrap {
        align-items: center;
    }
}
/* Desktop: 3 kontaktní karty vedle sebe */
@media (min-width: 992px) {
    .contact_cards_wrap {
        display: flex;
        justify-content: center; /* vycentrování karet */
        align-items: stretch;    /* všechny stejně vysoké */
        gap: 2rem;               /* mezera mezi kartami */
        flex-wrap: nowrap;       /* zabrání zlomení na druhý řádek */
        margin-bottom: 3rem;
    }

    .contact_card {
        flex: 1 1 300px;         /* všechny karty přibližně stejně široké */
        max-width: 320px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }
}
@media (max-width: 991px) {
    .contact_cards_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}
.contact_card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* vše nahoře */
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 480px; /* stejná výška všech karet */
}

.contact_card .contact_author {
    display: flex;
    flex-direction: column; /* fotka nahoře, jméno pod ní */
    align-items: center;
    margin-bottom: 1rem;
}

.contact_card .contact_image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem; /* prostor pod fotkou */
}
/* --- DESKTOP HERO (aktivuje se nad 992px) --- */
@media (min-width: 992px) {

    .hero {
        display: flex !important;
        position: relative;
        justify-content: center !important;   
        align-items: center !important;       
        min-height: 90vh;
        padding: 4rem;
        background-image: url("../img/hero/hero4.jpg");

        background-size: cover;
        background-position: center;
        border-radius: 2rem;
        overflow: hidden;
    }

    /* odstranění tmavé vrstvy přes fotografii */
    .hero::before {
        content: none !important;
    }

/* --- DESKTOP HERO (aktivuje se nad 992px) — širší a nižší verze --- */
@media (min-width: 992px) {

    .hero {
        display: flex !important;
        position: relative;

        justify-content: center !important;
        align-items: flex-end !important; /* box co nejníže */

        min-height: 90vh;
        padding: 7rem 4rem 4rem 4rem; /* posun obdélníku níže */

        background-image: url("../img/hero/hero4.jpg");
        background-size: cover;
        background-position: center;
        border-radius: 2rem;
        overflow: hidden;
    }

    /* zrušení tmavé vrstvy na fotce */
    .hero::before {
        content: none !important;
    }

    /* ŠIRŠÍ + NIŽŠÍ OBDÉLNÍK */
    .hero_card_a {
        width: 1400px;               
        max-width: 96%;
        background: rgba(0,0,0,0.22);
        padding: 1rem 2.5rem;
        border-radius: 1rem;

        position: relative;
        z-index: 2;
        color: white;

        backdrop-filter: blur(2px);
    }

    /* nadpisy */
    .hero_card_a h1 {
        font-size: 3rem;
        line-height: 3rem;
        margin-bottom: 0.4rem;
        color: white;
    }

    .hero_card_a h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: #ffffffdd;
    }

    /* text */
    .hero_card_a p {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
        color: #ffffffee;
    }

    /* logo / obrázek */
    .hero_card_a img {
        width: 100px;
        margin-bottom: 0.5rem;
        filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
    }

    /* ✔ CENTROVÁNÍ IKON FB + IG */
    .hero_card_a ul {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .hero_card_a ul svg {
        fill: white !important;
        width: 40px;
        height: 40px;
        transition: .2s ease;
    }

    .hero_card_a ul svg:hover {
        transform: scale(1.12);
        fill: #ffffffdd !important;
    }

    /* skrytí slideru */
    .hero_card_b {
        display: none !important;
    }

    .h {
        display: none !important;
    }
.reference_link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    margin: 1rem 0 1.2rem 0;
    font-size: 1.05rem;           /* větší písmo */
    font-weight: 600;
    color: #d10c0c;                /* červená */
    text-decoration: none;
    opacity: 0.95;
    transition: 0.2s;
}

.reference_link::before {
    content: "→";                 /* šipka vlevo */
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.reference_link::after {
    content: "→";                 /* šipka vpravo */
    font-size: 1.2rem;
    margin-left: 0.1rem;
}

.reference_link:hover {
    opacity: 1;
    transform: translateX(4px);   /* jemný efekt pohybu */
}

}
/* ===== Mapy.cz hodnocení ===== */

.mapycz_badge{
    text-align:center;
    margin:40px 0;
}

.mapycz_badge img{
    max-width:160px;
    height:auto;
}

.mapycz_text{
    margin-top:10px;
    font-size:16px;
    color:#444;
}

}

.mapycz_badge{
    text-align:center;
    margin:60px 0;
}

.mapycz_badge img{
    max-width:160px;
    height:auto;
    display:block;
    margin:0 auto;
}

.mapycz_text{
    margin-top:10px;
    font-size:16px;
    color:#444;
    text-align:center;
}
.mapycz_badge{
    width:100%;
}
