
:root {
    --projektujeme-elektro-blue: #1f3e8f;
    --projektujeme-elektro-blue-dark: #162d6a;
    --projektujeme-elektro-blue-hover: #1a367e;
    --projektujeme-elektro-blue-light: #dbe5ff;
}

h1 {
    color: var(--projektujeme-elektro-blue);
}

h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--projektujeme-elektro-blue);
    margin-bottom: 1.5rem;
}

.header-intro {
    & {
        background: linear-gradient(140deg, #2d8fe4, #0dced9);
        height: 800px;
        position: relative;

    }

    .header-intro-container {
        z-index: 9
    }

    .header-intro-text-background {
        /* background: rgba(255, 255, 255, 0.8); */
        /* box-shadow: 0 0 15px 10px rgba(255, 255, 255, 0.8); */
    }

    .header-img-container {
        z-index: 1;
        width: 100%;
        height: calc(100% - 40px);
    }

    .header-img-container img {
        opacity: 0.8;
        mask-image: linear-gradient(to top, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
    }

    .title {
        /* text-shadow: 0 0 8px #ffffff; */
        color: white;
    }

}

#section-about-us {
    background: #f1f1f1;
    line-height: 1.4;

    .description-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 1.2rem;
    }
}


.our_services {
    .outer-container {
        flex: 0 0 100%;
        padding: 15px;
    }

    @media (min-width: 768px) {
        .outer-container {
            flex: 0 0 50%;
        }
    }

    @media (min-width: 992px) {
        .outer-container {
            flex: 0 0 33.333333%;
        }
    }

    @media (min-width: 1500px) {
        .outer-container {
            flex: 0 0 20%;
        }
    }

    .our_service {
        padding: 1.5rem;
        background-color: var(--projektujeme-elektro-blue);
        border-radius: 12px;
        height: 100%;
        transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    }

    .service_title {
        font-size: 18px;
        color: white;
        text-align: center;
        line-height: 1.3;
        min-height: calc(18px * 1.3 * 2);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .our_service-ico {
        min-height: 56px;
    }

    .our_service-ico svg {
        width: 48px;
        height: 48px;
        display: block;
        transform-origin: center;
        transition: transform 0.25s ease;
    }

    .separator {
        width: 50px;
        background-color: white;
        height: 2px;
        border-radius: 1px;
        margin: 1rem 0;
        position: relative;
        left: calc(50% - 25px);
        transition: width 0.25s ease, left 0.25s ease, background-color 0.25s ease;
    }

    .our_service:hover {
        background-color: var(--projektujeme-elektro-blue-hover);
        box-shadow: 0 18px 34px rgba(34, 67, 145, 0.2);
    }

    .our_service:hover .our_service-ico svg {
        transform: scale(1.12);
    }

    .our_service:hover .separator {
        width: 78px;
        left: calc(50% - 39px);
        background-color: var(--projektujeme-elektro-blue-light);
    }

    .service_proposition {
        padding-inline-start: 1rem;
        color: white;
    }

    .service_proposition .item {
        padding-bottom: 0.5rem
    }
}

#section-contact-us {
    /*background: radial-gradient(circle at top left, rgba(141, 195, 255, 0.28), transparent 34%),*/
    /*linear-gradient(180deg, #f6fbff 0%, #eef6ff 100%);*/
    background: #f1f1f1;
}

.contact-section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.contact-section-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--projektujeme-elektro-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-section-perex {
    margin: 0 auto;
    max-width: 640px;
    color: #4c5d7d;
    font-size: 17px;
    line-height: 1.8;
}

.projektant {
    width: 100%;
    padding: 1.7rem 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 62, 143, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(22, 45, 106, 0.08);
    backdrop-filter: blur(10px);
}

.projektant a {
    color: #20314f;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.18em;
    transition: color 0.3s ease, text-decoration-color 0.3s ease, background-color 0.3s ease;
}

.projektant a:hover {
    color: var(--projektujeme-elektro-blue);
    text-decoration-color: currentColor;
}

.projektant .font-size-px-16 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projektant .contact-item-group:nth-child(4) {
    order: 5;
}

.projektant .contact-item-group:nth-child(5) {
    order: 4;
}

.projektant .projektant-name {
    margin-bottom: 1.4rem;
    color: var(--projektujeme-elektro-blue);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    text-align: left;
}

.projektant .contact-item-group {
    padding-bottom: 0.9rem;
}

.projektant .label-sidlo {
    margin-left: 1rem
}



.projektant .contact-item-group:nth-child(1) .contact-item,
.projektant .contact-item-group:nth-child(2) .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(31, 62, 143, 0.06);
    border: 1px solid rgba(31, 62, 143, 0.1);
}

.projektant .contact-item-group:nth-child(3) {
    margin-top: 0.2rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(31, 62, 143, 0.1);
}

.projektant .contact-item-group:nth-child(3) .contact-item {
    gap: 0.75rem;
}

.projektant .contact-item-group:nth-child(3) .contact-label {
    min-width: 72px;
}

.projektant .contact-item-group:nth-child(4) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 0.5rem;
    margin-top: 14px;
}

.projektant .contact-item-group:nth-child(4) .contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(31, 62, 143, 0.08);
    box-shadow: 0 10px 20px rgba(22, 45, 106, 0.04);
}

.projektant .contact-item-group:nth-child(4) .contact-item > div:last-child {
    overflow-wrap: anywhere;
}

.projektant .contact-item-group:last-child {
    margin-top: 0.8rem;
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 18px;
    background: rgba(31, 62, 143, 0.04);
}

.projektant .contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.projektant .contact-label {
    min-width: 72px;
    color: #5c7098;
    font-weight: 700;
    margin-right: 0;
}

.projektant .contact-item-group:nth-child(4) .contact-label {
    min-width: auto;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projektant .contact-list ul {
    margin: 0.2rem 0 0;
    padding-left: 1.2rem;
}

.projektant .contact-list li {
    padding-bottom: 0.45rem;
    color: #20314f;
    line-height: 1.6;
}

.find-us-img-container {
    height: 500px;
    overflow: hidden;
}

#anchor_contact_us .main-row {
    row-gap: 3rem
}

@media (min-width: 992px) {
    .projektant {
        padding: 2rem 1.7rem;
    }

    .projektant .contact-item-group:nth-child(4) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1300px) {
    .projektant .contact-item-group:nth-child(4) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .projektant {
        border-radius: 20px;
    }

    .projektant .contact-item-group:nth-child(1) .contact-item,
    .projektant .contact-item-group:nth-child(2) .contact-item {
        display: flex;
    }

    .projektant .contact-item-group:nth-child(4) {
        grid-template-columns: 1fr;
    }
}
