/* F&K — Site Header */

/* =========================================
   HEADER
========================================= */

.fk-site-header {
    color:#fff;
}

/* =========================================
   MAIN HEADER
========================================= */

.fk-header-main {
    max-width:none;
    margin:0;
    padding:34px max(22px, calc((100vw - 1250px) / 2 + 22px));

    display:grid;
    grid-template-columns:160px minmax(0, 1fr) auto;
    align-items:center;
    gap:36px;

    background-color:#e3e3e3;
    background-image:url('../../images/textures/fk-header-aluminium-satine.webp');
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}

/* =========================================
   LOGO
========================================= */

.fk-logo-box {
    position:relative;

    width:154px;
    height:154px;

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

    background:transparent;
    text-decoration:none;
}

.fk-logo-box::before {
    content:"";

    position:absolute;
    inset:0;

    border:1.3px solid var(--fk-red);
    border-right-color:transparent;
    border-bottom-color:rgba(196,0,18,.28);
    border-radius:50%;

    transform:rotate(-18deg);

    pointer-events:none;
}

.fk-logo-box img {
    position:relative;
    z-index:1;

    display:block;
    width:136px;
    height:136px;
    object-fit:contain;
}

/* =========================================
   IDENTITE
========================================= */

.fk-branding {
    min-width:0;
}

.fk-branding-name {
    margin:0;

    color:#111;

    font-size:34px;
    line-height:1;
    font-weight:800;
}

.fk-branding-subtitle {
    margin-top:2px;

    color:#333;

    font-size:18px;
    line-height:1.2;
    font-weight:500;
}

/* =========================================
   SLOGAN
========================================= */

.fk-branding-slogan {
    position:relative;

    display:block;
    width:min(100%, 680px);

    margin-top:22px;
    padding:
        10px
        0
        16px
        72px;

    color:#666;

    font-size:23px;
    line-height:1.25;
    font-weight:500;
}

.fk-branding-slogan::before {
    content:"›";

    position:absolute;
    left:0;
    top:50%;

    width:48px;
    height:48px;

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

    box-sizing:border-box;

    border:1.5px solid var(--fk-red);
    border-radius:50%;

    background:rgba(255,255,255,.90);
    color:var(--fk-red);

    font-size:38px;
    line-height:1;
    font-weight:300;

    transform:translateY(-62%);
}

.fk-branding-slogan::after {
    content:"";

    position:absolute;
    left:72px;
    right:0;
    bottom:0;

    height:2px;

    background:
        linear-gradient(
            to right,
            var(--fk-red) 0,
            var(--fk-red) 46px,
            rgba(255,255,255,.90) 46px,
            rgba(255,255,255,.90) 100%
        );
}

/* =========================================
   CTA
========================================= */

.fk-header-actions {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:12px;
}

.fk-header-contact {
    position:relative;

    width:100%;
    padding-left:15px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;

    box-sizing:border-box;

    color:#666;

    line-height:1.3;
}

.fk-header-contact::before {
    content:"";

    position:absolute;
    left:0;
    top:3px;
    bottom:3px;

    width:1px;

    background:var(--fk-red);
}

.fk-header-contact span {
    display:none;
}

.fk-header-contact a {
    color:inherit;
    text-decoration:none;
    transition:color .2s ease;
}

.fk-header-contact a:first-child {
    color:#222;

    font-size:15px;
    font-weight:700;
    letter-spacing:.01em;
}

.fk-header-contact a:last-child {
    color:#666;

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

.fk-header-contact a:hover {
    color:var(--fk-red);
}

.fk-nav-btn {
    min-height:54px;
    padding:0 24px 0 14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    box-sizing:border-box;

    border:1.5px solid var(--fk-red);
    border-radius:9px;

    background:rgba(255,255,255,.86);
    color:var(--fk-red);

    text-decoration:none;
    text-transform:uppercase;

    font-size:13px;
    line-height:1;
    font-weight:800;

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

.fk-nav-btn::before {
    content:"›";

    width:32px;
    height:32px;

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

    flex:0 0 32px;

    box-sizing:border-box;

    border:1px solid var(--fk-red);
    border-radius:50%;

    color:var(--fk-red);

    font-size:27px;
    line-height:1;
    font-weight:300;
}

.fk-nav-btn:hover {
    background:#fff;
    color:#a90010;
    border-color:#a90010;
}

.fk-nav-btn:hover::before {
    border-color:#a90010;
    color:#a90010;
}

/* =========================================
   NAVIGATION
========================================= */

.fk-main-navigation {
    width:100%;
    min-height:54px;
    margin:0;
    padding:0 22px;

    display:grid;
    grid-template-columns:repeat(3, auto);
    align-items:center;
    justify-content:center;

    background:#080808;

    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.fk-main-navigation a {
    position:relative;

    min-height:54px;
    padding:0 48px;

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

    color:#fff;

    text-align:center;
    text-decoration:none;
    text-transform:uppercase;

    font-size:13px;
    line-height:1;
    font-weight:700;

    transition:color .2s ease;
}

.fk-main-navigation a:not(:last-child)::after {
    content:"";

    position:absolute;
    right:0;
    top:50%;

    width:2px;
    height:12px;

    background:var(--fk-red);

    transform:translateY(-50%);
}

.fk-main-navigation a:hover {
    color:var(--fk-red);
}

/* =========================================
   RESPONSIVE
========================================= */
@media(max-width:1000px) {

    .fk-header-main {
        grid-template-columns:140px minmax(0, 1fr);
        gap:28px;
        padding-top:30px;
        padding-bottom:30px;
    }

    .fk-logo-box {
        width:136px;
        height:136px;
    }

    .fk-logo-box img {
        width:120px;
        height:120px;
    }

    .fk-branding {
        min-width:0;
    }

    .fk-branding-slogan {
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    .fk-header-actions {
        grid-column:2;
        align-items:flex-start;
        padding-left:0;
    }

    .fk-main-navigation a {
        padding-left:26px;
        padding-right:26px;
    }

}

@media(max-width:700px) {
    .fk-header-main {
        grid-template-columns:1fr;
        gap:20px;
        padding:
            24px
            20px;
    }

    .fk-logo-box {
        width:124px;
        height:124px;
    }

    .fk-logo-box img {
        width:108px;
        height:108px;
    }

    .fk-branding {
        width:100%;
        min-width:0;
    }

    .fk-branding-name {
        font-size:30px;
    }

    .fk-branding-subtitle {
        font-size:17px;
    }

    .fk-branding-slogan {
        width:100%;
        max-width:100%;
        margin-top:18px;
        padding:
            8px
            0
            14px
            58px;

        box-sizing:border-box;

        font-size:18px;
        line-height:1.3;

        white-space:normal;
        overflow-wrap:break-word;
    }

    .fk-branding-slogan::before {
        width:40px;
        height:40px;

        font-size:31px;
    }

    .fk-branding-slogan::after {
        left:58px;
        right:0;
    }

    .fk-header-actions {
        width:100%;
        grid-column:auto;
        align-items:stretch;
        padding-left:0;
    }

    .fk-header-contact {
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    .fk-nav-btn {
        width:100%;
        min-width:0;

        justify-content:center;

        padding:
            0
            16px
            0
            12px;

        white-space:normal;
        text-align:center;
    }

    .fk-main-navigation {
        grid-template-columns:1fr;
        justify-items:stretch;

        padding:
            8px
            20px;
    }

    .fk-main-navigation a {
        width:100%;
        min-height:42px;

        padding:0;

        justify-content:flex-start;
    }

    .fk-main-navigation a:not(:last-child)::after {
        display:none;
    }

}

@media(max-width:420px) {

    .fk-header-main {
        padding-left:18px;
        padding-right:18px;
    }

    .fk-logo-box {
        width:118px;
        height:118px;
    }

    .fk-logo-box img {
        width:102px;
        height:102px;
    }

    .fk-branding-name {
        font-size:28px;
    }

    .fk-branding-subtitle {
        font-size:16px;
    }

    .fk-branding-slogan {
        padding-left:54px;
        font-size:17px;
    }

    .fk-branding-slogan::before {
        width:38px;
        height:38px;
        font-size:29px;
    }

    .fk-branding-slogan::after {
        left:54px;
    }

    .fk-nav-btn {
        font-size:12px;
    }

}

/* =========================================
   MOBILE HEADER
========================================= */

.fk-mobile-menu-toggle {
    display: none;
}

@media (max-width: 700px) {

    .fk-header-main {
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 18px;
        row-gap: 14px;
        padding: 18px 20px 20px;
        align-items: center;
    }

    .fk-logo-box {
        width: 96px;
        height: 96px;
        grid-column: 1;
        grid-row: 1;
    }

    .fk-logo-box img {
        width: 84px;
        height: 84px;
    }

    .fk-branding {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .fk-branding-name {
        font-size: 26px;
        line-height: 1;
    }

    .fk-branding-subtitle {
        margin-top: 4px;
        font-size: 15px;
        line-height: 1.2;
    }

    .fk-branding-slogan {
        margin-top: 14px;
        padding: 6px 0 10px 46px;
        font-size: 16px;
        line-height: 1.25;
    }

    .fk-branding-slogan::before {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .fk-branding-slogan::after {
        left: 46px;
    }

    .fk-header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .fk-header-contact {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .fk-header-contact span {
        display: none;
    }

    .fk-header-contact a:first-child {
        font-size: 15px;
    }

    .fk-header-contact a:last-child {
        font-size: 13px;
    }

    .fk-nav-btn {
        width: auto;
        min-width: 0;
        min-height: 48px;
        padding: 0 18px;
        font-size: 12px;
        white-space: nowrap;
    }

    .fk-site-header.fk-mobile-nav-ready .fk-mobile-menu-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        background: #050505;
        color: #fff;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        cursor: pointer;
    }

    .fk-mobile-menu-toggle span {
        display: block;
        position: absolute;
        width: 26px;
        height: 2px;
        background: currentColor;
        transition:
            transform .2s ease,
            opacity .2s ease;
    }

    .fk-mobile-menu-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }

    .fk-mobile-menu-toggle span:nth-child(3) {
        transform: translateY(7px);
    }

    .fk-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg);
    }

    .fk-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .fk-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .fk-site-header.fk-mobile-nav-ready .fk-main-navigation {
        display: none;
    }

    .fk-site-header.fk-mobile-nav-ready .fk-main-navigation.is-open {
        display: grid;
        grid-template-columns: 1fr;
        padding: 6px 20px 10px;
    }

    .fk-site-header.fk-mobile-nav-ready .fk-main-navigation a {
        width: 100%;
        min-height: 40px;
        padding: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {

    .fk-header-main {
        grid-template-columns: 86px minmax(0, 1fr);
        column-gap: 14px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .fk-logo-box {
        width: 86px;
        height: 86px;
    }

    .fk-logo-box img {
        width: 76px;
        height: 76px;
    }

    .fk-branding-name {
        font-size: 24px;
    }

    .fk-branding-subtitle {
        font-size: 14px;
    }

    .fk-branding-slogan {
        font-size: 15px;
        line-height: 1.2;
    }

    .fk-branding-slogan::before {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .fk-branding-slogan::after {
        left: 46px;
    }

    .fk-header-actions {
        grid-template-columns: 1fr;
    }

    .fk-nav-btn {
        width: 100%;
    }
}
