@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');
/* ==========================================================
   TELKORE HOMEPAGE V2 — HEADER STYLESHEET
   Consolidated version
   ========================================================== */

/* ---------- Main Header ---------- */

.telkore-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #ffffff;
}

.telkore-header-initial {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        294px
        minmax(0, 1fr);
    align-items: center;

    width: 100%;
    max-width: 1200px;
    height: 96px;
    margin: 0 auto;
}

/* ---------- Split Navigation ---------- */

.telkore-nav-left,
.telkore-nav-right {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 5;
    min-width: 0;
}

.telkore-nav-left {
    grid-column: 1;
    justify-content: flex-end;
    padding-right: 45px;
}

.telkore-nav-right {
    grid-column: 3;
    justify-content: flex-start;
    padding-left: 45px;
}

.telkore-nav-left a,
.telkore-nav-right a {
    color: #111111;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.telkore-nav-left a:hover,
.telkore-nav-right a:hover,
.telkore-nav-left a:focus-visible,
.telkore-nav-right a:focus-visible {
    color: #c91f18;
}

/* ==========================================================
   CENTER LOGO PANEL
   Six-sided hexagon with continuous red border
   ========================================================== */

.telkore-logo-panel {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 294px;
    height: 132px;

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

    /* Red outer hexagon */
    background: #c91f18;

    clip-path: polygon(
        14% 0,
        86% 0,
        100% 50%,
        86% 100%,
        14% 100%,
        0 50%
    );

    isolation: isolate;
}

/* White interior of the hexagon */

.telkore-logo-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 3px;

    background: #ffffff;

    clip-path: polygon(
        14% 0,
        86% 0,
        100% 50%,
        86% 100%,
        14% 100%,
        0 50%
    );

    pointer-events: none;
}

/* Original TELKORE logo */

.telkore-logo-panel img {
    position: relative;
    z-index: 1;
    display: block;

    width: auto;
    max-width: 230px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

/* ==========================================================
   COMPACT STICKY HEADER
   Appears after scrolling
   ========================================================== */

.telkore-header-sticky {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;

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

    min-height: 76px;
    padding: 10px max(24px, calc((100vw - 1200px) / 2));

    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* Display sticky header after scroll */

body.telkore-scrolled .telkore-header-sticky {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sticky logo */

.telkore-header-sticky img {
    display: block;
    width: auto;
    max-width: 165px;
    max-height: 56px;
    height: auto;
    object-fit: contain;
}

/* Sticky navigation */

.telkore-sticky-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.telkore-sticky-nav a {
    color: #111111;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.telkore-sticky-nav a:hover,
.telkore-sticky-nav a:focus-visible {
    color: #c91f18;
}

/* Sticky Get a Quote button */

.telkore-sticky-nav a:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;
    background: #c91f18;
    color: #ffffff;
    border-radius: 2px;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.telkore-sticky-nav a:last-child:hover,
.telkore-sticky-nav a:last-child:focus-visible {
    background: #a71914;
    color: #ffffff;
}

/* ==========================================================
   RESPONSIVE LAYOUT
   ========================================================== */

@media (max-width: 900px) {

    .telkore-header-initial {
        grid-template-columns:
            minmax(0, 1fr)
            240px
            minmax(0, 1fr);

        height: 90px;
    }

    .telkore-logo-panel {
        width: 240px;
        height: 126px;
    }

    .telkore-logo-panel img {
        max-width: 195px;
        max-height: 85px;
    }

    .telkore-nav-left,
    .telkore-nav-right {
        display: none;
    }

    .telkore-header-sticky {
        min-height: 70px;
        padding: 10px 24px;
    }

    .telkore-sticky-nav {
        gap: 18px;
    }
}

@media (max-width: 600px) {

    .telkore-header-initial {
        grid-template-columns: 1fr;
        height: 82px;
    }

    .telkore-logo-panel {
        width: 210px;
        height: 110px;
    }

    .telkore-logo-panel img {
        max-width: 175px;
        max-height: 76px;
    }

    .telkore-header-sticky {
        min-height: 64px;
        padding: 10px 16px;
    }

    .telkore-header-sticky img {
        max-width: 135px;
        max-height: 46px;
    }

    .telkore-sticky-nav {
        display: none;
    }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {

    .telkore-header-sticky,
    .telkore-nav-left a,
    .telkore-nav-right a,
    .telkore-sticky-nav a {
        transition: none;
    }
}
/* ==========================================================
   TELKORE — NAVIGATION UNDERLINE ANIMATION
   ========================================================== */

/* Initial and sticky navigation links */
.telkore-nav-left a,
.telkore-nav-right a,
.telkore-sticky-nav a:not(.telkore-nav-cta) {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

/* Underline, initially hidden */
.telkore-nav-left a::after,
.telkore-nav-right a::after,
.telkore-sticky-nav a:not(.telkore-nav-cta)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #c91f18;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

/* Expand underline on hover or keyboard focus */
.telkore-nav-left a:hover::after,
.telkore-nav-right a:hover::after,
.telkore-sticky-nav a:not(.telkore-nav-cta):hover::after,
.telkore-nav-left a:focus-visible::after,
.telkore-nav-right a:focus-visible::after,
.telkore-sticky-nav a:not(.telkore-nav-cta):focus-visible::after {
    width: 100%;
}

/* Keep current-page underline visible */
.telkore-nav-left a[aria-current="page"]::after,
.telkore-nav-right a[aria-current="page"]::after,
.telkore-sticky-nav a[aria-current="page"]:not(.telkore-nav-cta)::after {
    width: 100%;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .telkore-nav-left a::after,
    .telkore-nav-right a::after,
    .telkore-sticky-nav a::after {
        transition: none;
    }
}
/* Hide sticky header CTA while preserving its original space */
.telkore-header-sticky .telkore-sticky-nav .telkore-nav-cta-placeholder {
    visibility: hidden !important;
    pointer-events: none;
}