/*
Theme Name: Viking Security
Author: Novot Agentuur
Version: 1.0
*/

header.site-header .menuTrigger {
    padding: 0;
    border: 0;
    background: transparent;
}

header.site-header .menuTrigger .inner {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    footer.site-footer li.phone {
        display: list-item;
    }

    footer.site-footer > .row:first-child {
        row-gap: 32px;
    }

    footer.site-footer > .row:first-child > div {
        flex: 0 0 50%;
        width: 50%;
        margin-left: 0;
    }

    footer.site-footer h3,
    footer.site-footer .socials h3 {
        margin: 0 0 20px;
        font-size: 1.7rem;
        line-height: 1.3;
    }

    footer.site-footer .contacts li img,
    footer.site-footer .contacts li svg {
        width: 18px;
    }

    footer.site-footer .footer-logo {
        justify-content: flex-start;
        gap: 20px;
    }

    footer.site-footer .footer-logo a {
        margin: 0;
    }
}

@media (max-width: 767px) {
    footer.site-footer > .row:first-child > div {
        flex-basis: 100%;
        width: 100%;
    }
}

.secondary-navigation {
    position: fixed;
    top: var(--site-header-bottom, 65px);
    left: 0;
    right: 0;
    z-index: 98;
    overflow-x: auto;
    background: #f6f6f6;
}

.secondary-navigation[hidden],
.secondary-navigation .sub-menu[hidden] {
    display: none;
}

.site-header.is-open + .secondary-navigation {
    visibility: hidden;
}

.secondary-navigation .sub-menu {
    display: flex;
    justify-content: center;
    width: max-content;
    min-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
}

.secondary-navigation .sub-menu li {
    flex: none;
}

.secondary-navigation .sub-menu a {
    display: block;
    padding: 14px 16px;
    color: #1f2c5f;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.secondary-navigation .sub-menu a:hover,
.secondary-navigation .current-menu-item > a,
header.site-header #primary-menu > li > a[aria-expanded="true"] {
    color: #0087c7;
}

header.site-header #primary-menu a:focus-visible,
.secondary-navigation a:focus-visible,
header.site-header .menuTrigger:focus-visible {
    outline: 2px solid #0087c7;
    outline-offset: -2px;
}

body.has-secondary-menu > main {
    padding-top: var(--secondary-menu-height, 0px);
}

body.has-secondary-menu main.solution header.solution-header.scroll,
body.has-secondary-menu main.contact header.sticky-submenu {
    top: calc(var(--site-header-bottom, 65px) + var(--secondary-menu-height, 0px));
}

@media (min-width: 1250px) {
    header.site-header nav ul.menu > li.menu-item-has-children:before {
        pointer-events: none;
    }

    header.site-header nav ul.menu > li.menu-item-has-children:hover:before {
        top: 5px;
        transform: rotate(225deg);
    }
}

@media (max-width: 1249px) {
    header.site-header .menuTrigger {
        top: 16.5px;
    }

    header.site-header.is-open {
        overflow-y: auto;
    }

    header.site-header nav ul.menu li.mega-menu-item:after {
        transform: rotate(225deg);
    }

    header.site-header nav ul.menu > li.mega-menu-item.menu-item-open:after {
        transform: rotate(45deg);
    }

    header.site-header nav ul.menu > li > .sub-menu:not([hidden]) {
        display: block;
        padding: 0;
        list-style: none;
    }
}

main.front .home-services {
    padding: 40px 0;
    background: #f6f6f6;
}

main.front .home-services__row {
    display: grid;
    gap: 10px;
}

main.front .home-services__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 50px;
    background: #fff;
    color: #4e4e4f;
    font-size: 14px;
    line-height: 1.5;
}

main.front .home-references__header h2 {
    margin: 0 0 24px;
    color: #1f2c5f;
    font-size: 24px;
    font-weight: 600;
}

main.front .home-services__intro h2 {
    color: #1f2c5f;
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.1;
}

main.front .home-services__intro h2,
main.front .home-services__intro p {
    max-width: 340px;
    margin: 0 0 40px;
}

main.front .home-services__intro p {
    font-size: 1.5rem;
    font-weight: 400;
}

main.front .home-services__intro > :last-child {
    margin-bottom: 0;
}

main.front .home-carousel {
    min-width: 0;
    width: 100%;
    padding-bottom: 24px;
}

main.front .home-card {
    height: auto;
    background: #fff;
}

main.front .home-card > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

main.front .home-card__image {
    aspect-ratio: 300 / 335;
    margin: 0;
    overflow: hidden;
    background: #f6f6f6;
}

main.front .home-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main.front .home-card__content {
    padding: 20px 24px;
}

main.front .home-card__content h2 {
    margin: 0;
    color: #1f2c5f;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 400;
    line-height: 1.4;
}

main.front .home-card a:focus-visible {
    outline: 2px solid #0087c7;
    outline-offset: -2px;
}

main.front .home-carousel.swiper-container-horizontal > .swiper-scrollbar {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 0;
    background: #cfd1da;
}

main.front .home-carousel .swiper-scrollbar-drag {
    border-radius: 0;
    background: #1f2c5f;
}

main.front .home-references {
    padding: 36px clamp(20px, 4vw, 80px) 40px;
    background: #fff;
}

main.front .home-references__header {
    margin-bottom: 24px;
    text-align: center;
    color: #1f2c5f;
    font-size: 14px;
}

main.front .home-references__header h2 {
    margin-bottom: 12px;
}

main.front .home-references .home-card {
    background: #f6f6f6;
}

main.front .home-references .home-card__content {
    min-height: 112px;
    background: #fff;
}

main.front .home-references .home-card__content h2 {
    margin-bottom: 14px;
}

main.front .home-references .home-card__content h2 span {
    color: #1f2c5f;
    font-size: 24px;
    font-weight: 600;
    line-height: 0;
}

main.front .home-references .home-card__content p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

main.front .numbers {
    transform: none;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    main.front .home-services__intro h2 {
        font-size: 2.5rem;
    }

    main.front .home-card__content h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 1024px) {
    main.front .home-services__intro {
        padding: 30px clamp(20px, 5vw, 50px);
    }

    main.front .home-services__intro h2 {
        font-size: 2.2rem;
    }

    main.front .home-services__intro p {
        font-size: 1.4rem;
    }

    main.front .home-services__intro h2,
    main.front .home-services__intro p {
        margin-bottom: 24px;
    }

    main.front .home-services__intro > :last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    main.front .home-services {
        margin-inline: 87px;
    }

    main.front .home-services__row {
        grid-template-columns: 488px minmax(0, 1fr);
    }

    main.front .home-services__intro {
        padding: 30px 3vw;
        margin-bottom: 24px;
    }

    main.front .home-services--private .home-services__row {
        grid-template-columns: minmax(0, 1fr) 488px;
    }

    main.front .home-services--private .home-services__intro {
        order: 2;
    }
}

@media (min-width: 992px) {
    .page-template-page-private-new-php main .intro-block .row-full .text-content:first-child,
    .page-template-page-private-new-php main .intro-block .row-text.row-blocks .text-content:first-child {
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .page-template-page-private-new-php .private-intro-section .text-content {
        padding-left: 0;
        padding-right: 0;
    }

    .page-template-page-private-new-php .private-intro-section > .row,
    .page-template-page-private-new-php .private-intro-section .intro-block > .row {
        margin-left: 0;
    }
}

@media (max-width: 1199px) {
    .page-template-page-private-new-php main.post .private-intro-section {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .page-template-page-private-new-php main.post .private-intro-section .intro-block > .row-text,
    .page-template-page-private-new-php main.post .private-intro-section .intro-block > .row-media {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .page-template-page-private-new-php main.solution section.contact-us .form-header {
        background: transparent;
    }

    .page-template-page-private-new-php main.solution section.contact-us .form-header::before {
        display: none;
    }

    .page-template-page-private-new-php main.solution section.contact-us .form-header h2,
    .page-template-page-private-new-php main.solution section.contact-us .form-header h3,
    .page-template-page-private-new-php main.solution section.contact-us .form-header p {
        color: #1f2c5f;
    }
}

@media (max-width: 1200px) {
    .page-template-page-private-new-php main.solution section.contact-us .form-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-template-page-private-new-php main.solution section.contact-us .form-header > .fluentform {
        margin-top: 24px;
    }
}

.page-template-page-private-new-php main .selling-packages {
    background: transparent;
}

.business-security .selling-packages {
    max-width: 1500px;
    margin: auto;
    text-align: center;
}
.business-security .selling-packages > h2 {
    padding: 0 1rem;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 2;
}
.business-security .package-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.business-security .selling-packages .package-item {
    position: relative;
    width: calc(25% - 20px);
    padding: 35px 20px 20px;
    overflow: hidden;
    background: conic-gradient(from 210deg at 50% 50%, #1cabe2 0, #0087c7 100%);
    color: #fff;
}
.business-security .selling-packages .package-item h3,
.business-security .selling-packages .package-item h4,
.business-security .selling-packages .package-item p {
    color: #fff;
}
.business-security .selling-packages .package-description { font-size: 1.4rem; }
.business-security .selling-packages .selling-packages-service { margin-top: 1rem; }
.business-security .selling-packages .selling-packages-service svg { transform: rotate(90deg); }
.business-security .selling-packages .selling-packages-service span { display: block; }
.business-security .selling-packages .selling-packages-service-name { font-weight: 600; }
.business-security .selling-packages .selling-packages-service-info { font-size: 1.2rem; }
.business-security .selling-packages .selling-packages-service img { width: 2rem; margin-right: 1rem; }
.business-security .selling-packages .popular-badge {
    position: absolute;
    right: -60px;
    bottom: 25px;
    width: 200px;
    padding: 5px 10px;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(-45deg);
}
.business-security #protsess .process-intro { color: #fff; }
.business-references {
    padding: 36px clamp(20px, 4vw, 80px) 40px;
    background: #fff;
}
.business-references__header { margin-bottom: 24px; text-align: center; color: #1f2c5f; }
.business-references__header h2 { margin: 0 0 24px; color: #1f2c5f; font-size: 24px; font-weight: 600; }
.business-references__carousel { max-width: 1500px; margin: 0 auto; padding-bottom: 24px; }
.business-reference { display: flex; height: auto; background: #f6f6f6; }
.business-reference__image { position: relative; flex: 0 0 42%; min-width: 0; min-height: 250px; margin: 0; aspect-ratio: 16 / 9; }
.business-reference__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.business-reference__content { align-self: center; padding: 30px 40px; }
.business-reference__content h3 { color: #1f2c5f; font-size: 20px; }
.business-reference__date, .business-reference__client { color: #4e4e4f; font-size: 14px; }
.business-reference__text { max-height: 7.5em; overflow: hidden; line-height: 1.5; }
.business-references__carousel.swiper-container-horizontal > .swiper-scrollbar {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 0;
    background: #cfd1da;
}
.business-references__carousel .swiper-scrollbar-drag { border-radius: 0; background: #1f2c5f; }
@media (max-width: 992px) {
    .business-security .selling-packages .package-item { width: calc(50% - 20px); }
}
@media (max-width: 700px) {
    .business-reference { flex-direction: column; }
    .business-reference__image { flex-basis: auto; }
    .business-reference__content { align-self: stretch; padding: 24px; }
}
@media (max-width: 550px) {
    .business-security .selling-packages .package-item { width: 100%; }
}
