/* ============================================================
   VIRTUALFLEX — TELEPHONY SOLUTIONS
   Same blue / cyan visual system as the redesigned solution pages.
   Scoped to .telephony-page — no yellow.
   ============================================================ */

.telephony-page {
    --tel-navy: #041c2c;
    --tel-navy2: #082d46;
    --tel-blue: #0b5f8a;
    --tel-cyan: #19b5e6;
    --tel-cyan-light: #8edcf2;
    --tel-sky: #eaf7fc;
    --tel-ice: #f4fafc;
    --tel-text: #29485d;
    --tel-muted: #617789;
    --tel-border: #d9e8ef;
    background: #fff;
    color: var(--tel-text);
}

.telephony-page main {
    margin: 0;
    padding: 0
}

.telephony-page .page-shell {
    position: relative;
    z-index: 1000;
    padding-top: 0 !important
}

.telephony-page .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 96px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1000 !important
}

.telephony-page .site-header .menu-item,
.telephony-page .site-header .menu-dropdown__toggle {
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35)
}

.telephony-page .site-header .menu-item:hover,
.telephony-page .site-header .menu-dropdown__toggle:hover {
    color: var(--tel-cyan-light) !important
}

.telephony-page .site-header .menu-toggle span {
    background: #fff !important
}

.tel-container {
    width: min(100% - 40px, 1240px);
    margin: 0 auto
}

.tel-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tel-navy)
}

.tel-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/enterprise-ip-PBX-systems.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.02)
}

.tel-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tel-navy);
    opacity: .70;
    z-index: 1
}

.tel-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 28, 44, .88), rgba(4, 28, 44, .52), rgba(4, 28, 44, .70));
    z-index: 1
}

.tel-hero__content {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1240px);
    margin: auto;
    padding-top: 75px;
    color: #fff
}

.tel-eyebrow,
.tel-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase
}

.tel-eyebrow {
    color: var(--tel-cyan-light);
    margin-bottom: 20px
}

.tel-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -.055em
}

.tel-hero h1 span {
    color: var(--tel-cyan-light)
}

.tel-hero p {
    max-width: 760px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65
}

.tel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    color: #d8edf5;
    font-size: 13px;
    font-weight: 700
}

.tel-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tel-cyan)
}

.tel-scroll {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    display: flex;
    align-items: center;
    gap: 10px
}

.tel-scroll span {
    width: 18px;
    height: 30px;
    border: 1px solid rgba(142, 220, 242, .7);
    border-radius: 99px;
    position: relative
}

.tel-scroll span:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    border-radius: 99px;
    background: var(--tel-cyan);
    transform: translateX(-50%)
}

.tel-intro {
    padding: 90px 20px 80px;
    background: #fff
}

.tel-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 65px;
    font-size: 13px
}

.tel-breadcrumb a {
    color: var(--tel-blue);
    text-decoration: none
}

.tel-breadcrumb b {
    color: var(--tel-cyan)
}

.tel-breadcrumb span {
    color: var(--tel-muted)
}

.tel-intro__grid {
    display: grid;
    grid-template-columns: 1.05fr .72fr;
    gap: 85px;
    align-items: end
}

.tel-label {
    display: inline-block;
    color: var(--tel-blue);
    margin-bottom: 15px
}

.tel-label:after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: var(--tel-cyan);
    margin-top: 10px
}

.tel-intro h2 {
    margin: 0;
    color: var(--tel-navy);
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: 1.03;
    letter-spacing: -.045em
}

.tel-intro__copy p {
    margin: 0 0 20px;
    color: var(--tel-text);
    font-size: 17px;
    line-height: 1.75
}

.tel-line {
    height: 1px;
    background: var(--tel-border);
    margin-top: 70px
}

.tel-solution {
    padding: 105px 20px
}

.tel-solution--light {
    background: var(--tel-ice)
}

.tel-solution--dark {
    background: var(--tel-navy)
}

.tel-solution__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: 90px;
    align-items: center
}

.tel-solution__grid--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr)
}

.tel-solution__grid--reverse .tel-panel {
    order: 2
}

.tel-solution__grid--reverse .tel-content {
    order: 1
}

/* ============================================================
   PROFESSIONAL PANEL (no images)
   ============================================================ */

.tel-panel {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 36px 36px;
    gap: 18px;
    transition: box-shadow .35s ease;
}

.tel-panel--blue {
    background: linear-gradient(145deg, #041c2c 0%, #082d46 55%, #0b5f8a 100%);
    border: 1px solid rgba(25, 181, 230, .18);
    box-shadow: 0 24px 64px rgba(4, 28, 44, .22);
}

.tel-panel--dark {
    background: linear-gradient(145deg, #020e18 0%, #051a2a 55%, #0a3a5e 100%);
    border: 1px solid rgba(25, 181, 230, .12);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .36);
}

.tel-panel:hover {
    box-shadow: 0 32px 80px rgba(25, 181, 230, .2);
}

.tel-panel__num {
    position: absolute;
    top: -12px;
    right: 24px;
    font-size: clamp(90px, 13vw, 150px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 181, 230, .15);
    user-select: none;
    pointer-events: none;
}

.tel-panel__title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--tel-cyan);
    margin-bottom: 4px;
}

.tel-panel__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tel-panel__tags li {
    padding: 6px 14px;
    border: 1px solid rgba(25, 181, 230, .3);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    background: rgba(25, 181, 230, .06);
    transition: background .2s ease, border-color .2s ease;
}

.tel-panel:hover .tel-panel__tags li {
    background: rgba(25, 181, 230, .12);
    border-color: rgba(25, 181, 230, .5);
}

.tel-panel__vendors {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-top: 6px;
}

.tel-panel__badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(25, 181, 230, .45);
    border-radius: 6px;
    color: var(--tel-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 6px;
}

.tel-panel__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 24px;
    overflow: hidden;
}

.tel-panel__deco::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,181,230,.15), transparent);
    top: 42%;
    left: -100%;
    transform: rotate(-28deg);
}

.tel-panel__deco::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,181,230,.1), transparent);
    top: 62%;
    left: -50%;
    transform: rotate(-28deg);
}

.tel-solution--dark .tel-label {
    color: var(--tel-cyan-light)
}

.tel-content h2 {
    margin: 0;
    color: var(--tel-navy);
    font-size: clamp(40px, 4.5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em
}

.tel-solution--dark .tel-content h2 {
    color: #fff
}

.tel-content h2 em {
    display: block;
    color: var(--tel-blue);
    font-style: normal
}

.tel-solution--dark .tel-content h2 em {
    color: var(--tel-cyan-light)
}

.tel-lead {
    max-width: 660px;
    margin: 24px 0 0;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 550;
    color: var(--tel-navy)
}

.tel-solution--dark .tel-lead {
    color: #fff
}

.tel-features {
    margin-top: 38px;
    border-top: 1px solid var(--tel-border)
}

.tel-solution--dark .tel-features {
    border-color: rgba(142, 220, 242, .25)
}

.tel-features article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--tel-border)
}

.tel-solution--dark .tel-features article {
    border-color: rgba(142, 220, 242, .18)
}

.tel-features article>b {
    color: var(--tel-cyan);
    font-size: 11px;
    letter-spacing: .12em;
    padding-top: 3px
}

.tel-features h3 {
    margin: 0;
    color: var(--tel-navy);
    font-size: 17px
}

.tel-solution--dark .tel-features h3 {
    color: #fff
}

.tel-features p {
    margin: 6px 0 0;
    color: var(--tel-muted);
    font-size: 14px;
    line-height: 1.55
}

.tel-solution--dark .tel-features p {
    color: #a9c2cf
}

.tel-why {
    padding: 110px 20px;
    background: var(--tel-sky)
}

.tel-why__heading {
    display: grid;
    grid-template-columns: 1.05fr .7fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px
}

.tel-why h2 {
    max-width: 850px;
    margin: 0;
    color: var(--tel-navy);
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.03;
    letter-spacing: -.045em
}

.tel-why__heading>p {
    margin: 0;
    color: var(--tel-text);
    font-size: 17px;
    line-height: 1.75
}

.tel-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
}

.tel-cards article {
    position: relative;
    min-height: 280px;
    padding: 30px;
    border: 1px solid #cfe4ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    overflow: hidden;
    transition: .25s
}

.tel-cards article:hover {
    background: #fff;
    transform: translateY(-3px)
}

.tel-cards article:after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border: 1px solid #a7ddeb;
    border-radius: 50%
}

.tel-cards article>span {
    color: var(--tel-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em
}

.tel-cards h3 {
    margin: 58px 0 13px;
    color: var(--tel-navy);
    font-size: 23px;
    line-height: 1.2
}

.tel-cards p {
    margin: 0;
    color: var(--tel-text);
    font-size: 15px;
    line-height: 1.7
}

.tel-cta {
    position: relative;
    overflow: hidden;
    padding: 95px 20px;
    background: var(--tel-navy);
    color: #fff
}

.tel-cta__pattern {
    position: absolute;
    right: -100px;
    top: -170px;
    width: 390px;
    height: 620px;
    border: 1px solid rgba(25, 181, 230, .7);
    border-radius: 120px;
    transform: rotate(25deg);
    opacity: .45;
    box-shadow: -65px 65px 0 -1px var(--tel-navy), -65px 65px 0 rgba(25, 181, 230, .65), -130px 130px 0 -1px var(--tel-navy), -130px 130px 0 rgba(25, 181, 230, .5)
}

.tel-cta>.tel-container {
    position: relative;
    z-index: 2
}

.tel-cta .tel-label {
    color: var(--tel-cyan-light)
}

.tel-cta__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px
}

.tel-cta h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -.05em
}

.tel-cta p {
    max-width: 720px;
    margin: 0;
    color: #c8dce6;
    font-size: 17px;
    line-height: 1.7
}

.tel-cta a {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    padding: 16px 23px;
    border: 1px solid rgba(142, 220, 242, .65);
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 181, 230, .1);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: .25s
}

.tel-cta a:hover {
    background: rgba(25, 181, 230, .22);
    border-color: var(--tel-cyan);
    transform: translateY(-2px)
}

.tel-cta a span {
    color: var(--tel-cyan);
    font-size: 22px
}

@media(max-width:1100px) {

    .tel-intro__grid,
    .tel-why__heading {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .tel-solution__grid,
    .tel-solution__grid--reverse {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .tel-solution__grid--reverse .tel-image,
    .tel-solution__grid--reverse .tel-content {
        order: initial
    }

    .tel-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:900px) {
    .tel-hero {
        min-height: 640px
    }

    .tel-solution {
        padding-top: 80px;
        padding-bottom: 80px
    }

    .tel-image {
        min-height: 470px
    }

    .tel-cta__grid {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:640px) {
    .telephony-page .site-header {
        height: auto !important;
        padding: 10px 0 !important
    }

    .tel-hero {
        min-height: 570px
    }

    .tel-hero__bg {
        background-position: 62% center
    }

    .tel-hero__content {
        width: calc(100% - 32px);
        padding-top: 55px
    }

    .tel-eyebrow {
        font-size: 11px
    }

    .tel-hero h1 {
        font-size: clamp(43px, 12.5vw, 58px)
    }

    .tel-hero p {
        margin-top: 20px;
        font-size: 16px
    }

    .tel-meta {
        margin-top: 28px;
        gap: 9px;
        font-size: 11px
    }

    .tel-scroll {
        display: none
    }

    .tel-intro,
    .tel-solution,
    .tel-why {
        padding-top: 70px;
        padding-bottom: 70px
    }

    .tel-intro h2,
    .tel-content h2,
    .tel-why h2 {
        font-size: 38px
    }

    .tel-intro__copy p {
        font-size: 16px
    }

    .tel-image {
        min-height: 330px;
        border-radius: 16px
    }

    .tel-lead {
        font-size: 19px
    }

    .tel-features article {
        grid-template-columns: 30px 1fr;
        gap: 13px
    }

    .tel-features h3 {
        font-size: 16px
    }

    .tel-features p {
        font-size: 13px
    }

    .tel-cards {
        grid-template-columns: 1fr
    }

    .tel-cards article {
        min-height: 0
    }

    .tel-cards h3 {
        margin-top: 35px
    }

    .tel-cta {
        padding-top: 75px;
        padding-bottom: 75px
    }

    .tel-cta h2 {
        font-size: 40px
    }

    .tel-cta a {
        width: 100%;
        justify-content: center
    }
}

/* ============================================================
   FULL-WIDTH SOLUTION LAYOUT — NO IMAGE/PANEL COLUMN
   ============================================================ */
.telephony-page .tel-solution__grid,
.telephony-page .tel-solution__grid--reverse {
    display: block;
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
}
.telephony-page .tel-panel { display: none !important; }
.telephony-page .tel-content { width: 100%; max-width: none; }
.telephony-page .tel-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin-top: 38px;
    border-top: 1px solid var(--tel-border);
}
.telephony-page .tel-features article {
    align-content: start;
    min-width: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--tel-border);
}
.telephony-page .tel-solution--dark .tel-features { border-color: rgba(142,220,242,.25); }
.telephony-page .tel-solution--dark .tel-features article { border-color: rgba(142,220,242,.18); }
@media (max-width: 700px) {
    .telephony-page .tel-solution__grid,
    .telephony-page .tel-solution__grid--reverse { width: calc(100% - 32px); }
    .telephony-page .tel-features { grid-template-columns: 1fr; }
}
/* ============================================================
   SHARED VIRTUALFLEX NAVBAR
   Match the common navbar from style.css.
   Header-only override; page content and hero styles are unchanged.
   ============================================================ */
.telephony-page .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 96px;
    margin: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #e8edf1 !important;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
}
@media (min-width: 769px) {
    .telephony-page .site-header .menu-item,
    .telephony-page .site-header .menu-dropdown__toggle {
        color: #1f2242 !important;
        text-shadow: none !important;
    }
    .telephony-page .site-header .menu-item:hover,
    .telephony-page .site-header .menu-item:focus-visible,
    .telephony-page .site-header .menu-dropdown__toggle:hover,
    .telephony-page .site-header .menu-dropdown__toggle:focus-visible {
        color: #facc15 !important;
        text-shadow: none !important;
    }
    .telephony-page .site-header .menu-item.active {
        color: #0c4a6e !important;
        text-shadow: none !important;
    }
    .telephony-page .site-header .menu-dropdown__caret {
        color: #1f2242 !important;
    }
}
.telephony-page .site-header .menu-toggle span {
    background: #1f2242 !important;
    box-shadow: none !important;
}
.telephony-page .site-header .header-grid.menu-open .menu-toggle span {
    background: #ffffff !important;
}

