/* ==========================================================
   BLOMUS.CZ – KONTAKTY
   ========================================================== */

#blm-contact {
    --blm-black: #171717;
    --blm-text: #242424;
    --blm-muted: #77736d;
    --blm-bg: #f4f3f0;
    --blm-bg2: #ebe9e4;
    --blm-line: #dedbd5;
    --blm-white: #ffffff;

    width: 100%;
    color: var(--blm-text);
    font-size: 16px;
    line-height: 1.65;
}


/* ==========================================================
   SHOPTET STRÁNKA
   ========================================================== */

body.in-kontakty .content-inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.in-kontakty .content-inner > h1 {
    display: none;
}


/* ==========================================================
   TYPOGRAFIE
   ========================================================== */

#blm-contact h1,
#blm-contact h2,
#blm-contact h3,
#blm-contact p {
    margin-top: 0;
}

#blm-contact h1,
#blm-contact h2 {
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

#blm-contact h1 {
    margin-bottom: 28px;
    font-size: clamp(48px, 6vw, 88px);
}

#blm-contact h2 {
    margin-bottom: 27px;
    font-size: clamp(35px, 4vw, 58px);
}

.blm-eyebrow,
.blm-small-label {
    display: block;
    margin-bottom: 19px;
    color: var(--blm-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .17em;
}

.blm-eyebrow--light {
    color: rgba(255,255,255,.72);
}

.blm-small-label {
    margin-bottom: 12px;
    font-size: 10px;
}


/* ==========================================================
   TLAČÍTKA
   ========================================================== */

#blm-contact .blm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 27px;
    border: 1px solid transparent;
    border-radius: 0;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .035em;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

#blm-contact .blm-btn:hover {
    transform: translateY(-2px);
}

#blm-contact .blm-btn--light {
    border-color: #fff;
    color: #171717;
    background: #fff;
}

#blm-contact .blm-btn--light:hover {
    color: #fff;
    background: transparent;
}

#blm-contact .blm-btn--outline-light {
    border-color: rgba(255,255,255,.65);
    color: #fff;
    background: transparent;
}

#blm-contact .blm-btn--outline-light:hover {
    border-color: #fff;
    color: #171717;
    background: #fff;
}

#blm-contact .blm-btn--dark {
    border-color: #171717;
    color: #fff;
    background: #171717;
}

#blm-contact .blm-btn--dark:hover {
    color: #171717;
    background: transparent;
}


/* ==========================================================
   HERO
   ========================================================== */

.blm-hero {
    position: relative;
    min-height: min(780px, 84vh);
    overflow: hidden;
    color: #fff;
    background: #333;
}

.blm-hero__image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.blm-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.70) 0%,
            rgba(0,0,0,.42) 40%,
            rgba(0,0,0,.09) 72%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.50) 0%,
            rgba(0,0,0,0) 42%
        );
}

.blm-hero__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(1400px, calc(100% - 100px));
    min-height: min(780px, 84vh);
    margin: 0 auto;
    padding: 90px 0 145px;
}

.blm-hero__content p {
    max-width: 590px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.9);
    font-size: 18px;
}

.blm-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blm-hero__bottom {
    position: absolute;
    z-index: 2;
    right: 50px;
    bottom: 30px;
    left: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.35);

    font-size: 12px;
}

.blm-hero__bottom strong {
    max-width: 470px;

    text-align: right;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ==========================================================
   OTEVÍRACÍ DOBA
   ========================================================== */

.blm-opening {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 10vw;

    width: min(1320px, calc(100% - 100px));
    margin: 0 auto;
    padding: 130px 0;
}

.blm-opening__intro p {
    max-width: 590px;
    color: var(--blm-muted);
}

.blm-opening__hours {
    align-self: center;
}

.blm-opening__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 25px;

    padding: 24px 0;
    border-top: 1px solid var(--blm-line);
}

.blm-opening__row span {
    font-size: 14px;
}

.blm-opening__row strong {
    font-size: clamp(25px, 2vw, 33px);
    font-weight: 400;
    white-space: nowrap;
}

.blm-opening__address {
    display: flex;
    flex-direction: column;

    padding-top: 25px;
    border-top: 1px solid var(--blm-line);

    color: var(--blm-muted);
    font-size: 14px;
}

.blm-opening__address strong {
    margin-bottom: 4px;
    color: var(--blm-text);
    font-weight: 500;
}


/* ==========================================================
   SHOWROOM
   ========================================================== */

.blm-showroom {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: var(--blm-bg);
}

.blm-showroom__image {
    min-height: 730px;
    overflow: hidden;
}

.blm-image-button {
    display: block;

    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    border: 0;
    overflow: hidden;

    background: transparent;
    cursor: zoom-in;
}

.blm-showroom__image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 730px;

    object-fit: cover;

    transition: transform .7s cubic-bezier(.2,.6,.2,1);
}

.blm-image-button:hover img {
    transform: scale(1.025);
}

.blm-showroom__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px clamp(50px, 7vw, 120px);
}

.blm-showroom__lead {
    margin-bottom: 22px;
    font-size: 20px;
    line-height: 1.55;
}

.blm-showroom__content > p:not(.blm-showroom__lead) {
    color: var(--blm-muted);
}

.blm-features {
    margin-top: 37px;
}

.blm-feature {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 15px;

    padding: 20px 0;
    border-top: 1px solid #d5d2cc;
}

.blm-feature span {
    color: #999;
    font-size: 11px;
}

.blm-feature strong {
    font-weight: 500;
}


/* ==========================================================
   COMMON HEADING
   ========================================================== */

.blm-section-heading {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto 60px;
    text-align: center;
}

.blm-section-heading p {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
    color: var(--blm-muted);
}


/* ==========================================================
   GALERIE
   ========================================================== */

.blm-gallery {
    padding: 130px 50px;
}

.blm-gallery__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    grid-template-rows: 345px 500px;
    gap: 12px;

    max-width: 1500px;
    margin: 0 auto;
}

.blm-gallery__item {
    display: block;
    position: relative;

    margin: 0;
    padding: 0;

    overflow: hidden;
    border: 0;

    background: #eee;
    cursor: zoom-in;
}

.blm-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s cubic-bezier(.2,.6,.2,1);
}

.blm-gallery__item:hover img {
    transform: scale(1.025);
}

.blm-gallery__item--1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.blm-gallery__item--2 {
    grid-column: 2;
    grid-row: 1;
}

.blm-gallery__item--3 {
    grid-column: 3;
    grid-row: 1;
}

.blm-gallery__item--4 {
    grid-column: 2;
    grid-row: 2;
}

.blm-gallery__item--5 {
    grid-column: 3;
    grid-row: 2;
}


/* ==========================================================
   REALIZACE
   ========================================================== */

.blm-projects {
    display: grid;
    grid-template-columns: .75fr 1.25fr;

    color: #fff;
    background: #22211f;
}

.blm-projects__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px clamp(45px, 6vw, 100px);
}

.blm-projects__content p {
    color: rgba(255,255,255,.7);
}

.blm-projects__image {
    min-height: 660px;
}

.blm-projects__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 660px;

    object-fit: cover;
}

.blm-arrow-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 14px;

    margin-top: 18px;
    padding-bottom: 6px;

    border-bottom: 1px solid #222;

    color: #222 !important;
    text-decoration: none !important;
    font-weight: 500;
}

.blm-arrow-link--light {
    border-color: rgba(255,255,255,.7);
    color: #fff !important;
}

.blm-arrow-link span {
    transition: transform .2s ease;
}

.blm-arrow-link:hover span {
    transform: translateX(5px);
}


/* ==========================================================
   LOKACE
   ========================================================== */

.blm-location {
    background: var(--blm-bg);
}

.blm-location__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 10vw;

    width: min(1250px, calc(100% - 100px));
    margin: 0 auto;
    padding: 120px 0;
}

.blm-location__headline p {
    max-width: 500px;
    color: var(--blm-muted);
    font-size: 18px;
}

.blm-location__practical {
    align-self: center;
}

.blm-location__address {
    display: flex;
    flex-direction: column;

    padding: 0 0 28px;
    border-bottom: 1px solid var(--blm-line);

    color: var(--blm-muted);
}

.blm-location__address strong {
    margin-bottom: 5px;
    color: var(--blm-text);
    font-size: 18px;
    font-weight: 500;
}

.blm-location__transport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;

    margin: 28px 0 36px;
}

.blm-location__transport p {
    margin-bottom: 0;
    color: var(--blm-muted);
    font-size: 14px;
}


/* ==========================================================
   KONTAKTY
   ========================================================== */

.blm-contacts {
    padding: 125px 50px;
}

.blm-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    max-width: 1280px;
    margin: 0 auto;
}

.blm-contact-card {
    display: flex;
    flex-direction: column;

    min-height: 240px;
    padding: 34px;

    border: 1px solid var(--blm-line);

    color: var(--blm-text) !important;
    text-decoration: none !important;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

a.blm-contact-card:hover {
    transform: translateY(-3px);

    border-color: #bbb7b0;
    background: #faf9f7;
}

.blm-contact-card__label {
    margin-bottom: auto;

    color: var(--blm-muted);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
}

.blm-contact-card strong {
    margin-top: 35px;
    margin-bottom: 6px;

    font-size: clamp(18px, 1.5vw, 23px);
    font-weight: 400;
    line-height: 1.35;
}

.blm-contact-card a {
    color: var(--blm-text);
    text-decoration: none;
}

.blm-contact-card__action {
    margin-top: 13px;
    font-size: 13px;
}


/* ==========================================================
   BONAMI
   ========================================================== */

.blm-bonami {
    padding: 125px 50px;
    background: var(--blm-bg);
}

.blm-bonami__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    max-width: 1350px;
    margin: 0 auto;
}

.blm-bonami-card {
    background: #fff;
}

.blm-bonami-card__image {
    height: 500px;
    overflow: hidden;
    background: #e5e3df;
}

.blm-bonami-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s cubic-bezier(.2,.6,.2,1);
}

.blm-bonami-card:hover .blm-bonami-card__image img {
    transform: scale(1.02);
}

.blm-bonami-card__content {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;

    padding: 27px 30px 30px;
}

.blm-bonami-card__content > span {
    padding-top: 4px;

    color: #999;
    font-size: 11px;
}

.blm-bonami-card__content strong {
    display: block;

    margin-bottom: 2px;

    font-size: 20px;
    font-weight: 500;
}

.blm-bonami-card__content p {
    margin: 0;
    color: var(--blm-muted);
}

.blm-bonami__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    max-width: 1000px;
    margin: 65px auto 0;
    padding-top: 35px;

    border-top: 1px solid var(--blm-line);
}

.blm-bonami__footer strong {
    display: block;

    margin-bottom: 5px;

    font-size: 19px;
    font-weight: 500;
}

.blm-bonami__footer p {
    max-width: 600px;
    margin-bottom: 0;
    color: var(--blm-muted);
}


/* ==========================================================
   FORMULÁŘ
   ========================================================== */

.blm-form {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 9vw;

    padding:
        120px
        max(50px, calc((100vw - 1320px) / 2));
}

.blm-form__intro p {
    max-width: 430px;
    color: var(--blm-muted);
}


/* Shoptet formulář */

.blm-form__content form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.blm-form__content .form-group,
.blm-form__content .form-group-whole {
    margin-bottom: 20px;
}

.blm-form__content label {
    font-size: 13px;
    font-weight: 500;
}

.blm-form__content input[type="text"],
.blm-form__content input[type="email"],
.blm-form__content input[type="tel"],
.blm-form__content textarea {
    width: 100%;
    min-height: 52px;

    padding: 12px 0;

    border: 0;
    border-bottom: 1px solid #c8c5c0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
}

.blm-form__content textarea {
    min-height: 150px;
    resize: vertical;
}

.blm-form__content input:focus,
.blm-form__content textarea:focus {
    border-color: #171717;
    outline: none;
}

.blm-form__content .btn,
.blm-form__content button[type="submit"],
.blm-form__content input[type="submit"] {
    min-height: 52px;
    padding: 13px 30px;

    border: 1px solid #171717;
    border-radius: 0;

    color: #fff;
    background: #171717;
    box-shadow: none;

    font-weight: 600;
}


/* ==========================================================
   LIGHTBOX
   ========================================================== */

.blm-lightbox {
    display: flex;
    position: fixed;
    z-index: 999999;
    inset: 0;

    align-items: center;
    justify-content: center;

    padding: 40px;

    visibility: hidden;
    opacity: 0;

    background: rgba(0,0,0,.94);

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.blm-lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.blm-lightbox img {
    display: block;

    max-width: 94vw;
    max-height: 90vh;

    object-fit: contain;
}

.blm-lightbox__close {
    position: absolute;
    top: 18px;
    right: 24px;

    width: 52px;
    height: 52px;

    padding: 0;

    border: 0;

    color: #fff;
    background: transparent;

    font-size: 43px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;
}

body.blm-lightbox-open {
    overflow: hidden;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .blm-hero__content {
        width: calc(100% - 60px);
    }

    .blm-hero__bottom {
        right: 30px;
        left: 30px;
    }


    .blm-opening {
        grid-template-columns: 1fr;
        gap: 55px;

        width: calc(100% - 60px);
        padding: 90px 0;
    }


    .blm-showroom {
        grid-template-columns: 1fr;
    }

    .blm-showroom__image,
    .blm-showroom__image img {
        min-height: 620px;
        max-height: 760px;
    }


    .blm-gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 560px 300px 390px;
    }

    .blm-gallery__item--1 {
        grid-column: 1;
        grid-row: 1;
    }

    .blm-gallery__item--2 {
        grid-column: 2;
        grid-row: 1;
    }

    .blm-gallery__item--3 {
        grid-column: 1;
        grid-row: 2;
    }

    .blm-gallery__item--4 {
        grid-column: 2;
        grid-row: 2;
    }

    .blm-gallery__item--5 {
        grid-column: 1 / 3;
        grid-row: 3;
    }


    .blm-projects {
        grid-template-columns: 1fr;
    }

    .blm-projects__image {
        order: -1;
    }

    .blm-projects__image,
    .blm-projects__image img {
        min-height: 570px;
    }


    .blm-location__inner {
        grid-template-columns: 1fr;
        gap: 50px;

        width: calc(100% - 60px);
        padding: 90px 0;
    }


    .blm-contact-cards {
        grid-template-columns: 1fr;
    }

    .blm-contact-card {
        min-height: 185px;
    }


    .blm-bonami {
        padding: 90px 30px;
    }

    .blm-bonami-card__image {
        height: 420px;
    }


    .blm-form {
        grid-template-columns: 1fr;
        gap: 45px;

        padding: 90px 40px;
    }

}


/* ==========================================================
   MOBIL
   ========================================================== */

@media (max-width: 767px) {

    #blm-contact h1 {
        font-size: 43px;
    }

    #blm-contact h2 {
        font-size: 35px;
    }


    /* HERO */

    .blm-hero {
        min-height: 700px;
    }

    .blm-hero__image {
        object-position: 52% center;
    }

    .blm-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0,0,0,.84) 0%,
                rgba(0,0,0,.48) 61%,
                rgba(0,0,0,.14) 100%
            );
    }

    .blm-hero__content {
        justify-content: flex-end;

        width: calc(100% - 36px);
        min-height: 700px;

        padding: 95px 0 160px;
    }

    .blm-hero__content p {
        font-size: 16px;
    }

    .blm-hero__buttons {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
    }

    #blm-contact .blm-hero__buttons .blm-btn {
        width: 100%;
    }

    .blm-hero__bottom {
        right: 18px;
        bottom: 18px;
        left: 18px;

        display: block;

        font-size: 10px;
    }

    .blm-hero__bottom strong {
        display: block;

        max-width: none;
        margin-top: 7px;

        text-align: left;
        font-size: 9px;
    }


    /* OTEVÍRACÍ DOBA */

    .blm-opening {
        width: calc(100% - 36px);
        padding: 75px 0;
    }

    .blm-opening__row {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;

        padding: 20px 0;
    }

    .blm-opening__row strong {
        font-size: 27px;
    }


    /* SHOWROOM */

    .blm-showroom__image,
    .blm-showroom__image img {
        min-height: 500px;
        height: 70vh;
    }

    .blm-showroom__content {
        padding: 70px 20px;
    }

    .blm-showroom__lead {
        font-size: 18px;
    }


    /* GALERIE */

    .blm-gallery {
        padding: 80px 18px;
    }

    .blm-section-heading {
        width: 100%;
        margin-bottom: 40px;

        text-align: left;
    }

    .blm-gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 430px 225px 290px;
        gap: 7px;
    }

    .blm-gallery__item--1 {
        grid-column: 1;
        grid-row: 1;
    }

    .blm-gallery__item--2 {
        grid-column: 2;
        grid-row: 1;
    }

    .blm-gallery__item--3 {
        grid-column: 1;
        grid-row: 2;
    }

    .blm-gallery__item--4 {
        grid-column: 2;
        grid-row: 2;
    }

    .blm-gallery__item--5 {
        grid-column: 1 / -1;
        grid-row: 3;
    }


    /* REALIZACE */

    .blm-projects__image,
    .blm-projects__image img {
        min-height: 440px;
    }

    .blm-projects__content {
        padding: 70px 20px;
    }


    /* LOKACE */

    .blm-location__inner {
        width: calc(100% - 40px);
        padding: 75px 0;
    }

    .blm-location__transport {
        grid-template-columns: 1fr;
        gap: 22px;
    }


    /* KONTAKTY */

    .blm-contacts {
        padding: 80px 18px;
    }

    .blm-contact-card {
        min-height: 175px;
        padding: 27px 23px;
    }


    /* BONAMI */

    .blm-bonami {
        padding: 80px 18px;
    }

    .blm-bonami__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .blm-bonami-card__image {
        height: 380px;
    }

    .blm-bonami-card__content {
        padding: 23px 20px 25px;
    }

    .blm-bonami__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;

        margin-top: 50px;
    }


    /* FORM */

    .blm-form {
        padding: 75px 20px;
    }


    /* LIGHTBOX */

    .blm-lightbox {
        padding: 15px;
    }

    .blm-lightbox__close {
        top: 8px;
        right: 8px;
    }

}


/* ==========================================================
   MALÉ MOBILY
   ========================================================== */

@media (max-width: 480px) {

    .blm-gallery__grid {
        grid-template-rows: 380px 205px 260px;
    }

    .blm-bonami-card__image {
        height: 330px;
    }

}