.tvflex{--flex-navy:#0b1730;--flex-blue:#2454d6;--flex-text:#18284a;--flex-muted:#50637e;--flex-line:#dce5f2;--flex-ice:#f3f7fd;color:var(--flex-text)}
.tvflex *, .tvflex-float *{box-sizing:border-box}
.tvflex h2,.tvflex h3{color:inherit;line-height:1.12;letter-spacing:-.035em}
.tvflex h2{font-size:clamp(1.65rem,3.2vw,2.7rem);margin:0 0 .65rem}
.tvflex h3{font-size:1.35rem;margin:.65rem 0}
.tvflex p{margin:.55rem 0 1rem}
.tvflex-label{color:#9fc4ff;font-weight:800;letter-spacing:.12em;font-size:.75rem}
.tvflex-button,.tvflex a.tvflex-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.65rem 1rem;border:1px solid transparent;border-radius:10px;background:#2857dd;color:#fff;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}
.tvflex-button:hover,.tvflex a.tvflex-button:hover{background:#1744c1;color:#fff}
.tvflex-button:disabled{opacity:.6;cursor:wait}
.tvflex a.tvflex-button-alt,.tvflex button.tvflex-button-alt{background:#fff;border-color:#9db5e9;color:#163c9c}
.tvflex-icon{width:1.35rem;height:1.35rem;flex:none;vertical-align:middle}
.tvflex-feature,.tvflex-hero{display:grid;grid-template-columns:1fr;gap:clamp(1rem,3vw,2.5rem);align-items:center;background:radial-gradient(ellipse at 95% 5%,#193f85 0%,transparent 52%),#0b1730;color:#fff;padding:clamp(1.3rem,4vw,3rem);border-radius:20px;overflow:hidden}
.tvflex-home{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);width:min(1160px,calc(100% - 2rem));margin:clamp(2rem,6vw,5rem) auto}
.tvflex-feature:not(.tvflex-home){margin:0 0 2rem}
.tvflex-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.tvflex-hero h2{font-size:clamp(1.9rem,4vw,3.3rem)}
.tvflex-hero p:not(.tvflex-label),.tvflex-feature p:not(.tvflex-label){color:#d6e2fb}
.tvflex-photo{position:relative;margin:0!important}
.tvflex-photo img{display:block;width:100%;height:clamp(200px,30vw,370px);border-radius:14px;object-fit:cover;object-position:center 41%;margin:0}
.tvflex-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0 .65rem}
.tvflex-mini-grid a{display:flex;align-items:center;gap:.5rem;color:#fff;background:#ffffff12;border:1px solid #a7c3ff55;border-radius:12px;padding:.75rem;text-decoration:none}
.tvflex-mini-grid a:hover{background:#ffffff25;color:#fff}
.tvflex-mini-grid a>span:nth-child(2){flex:1}
.tvflex-mini-grid a>span:nth-child(2)>span,.tvflex-mini-grid strong{display:block}
.tvflex-feature small{display:block;color:#d6e2fb;margin:.7rem 0 1rem}
.tvflex-section{margin:clamp(1.8rem,5vw,4rem) 0}
.tvflex-benefits,.tvflex-methods{display:flex;flex-wrap:wrap;gap:.55rem 1rem;margin:1rem 0!important;padding:0!important;list-style:none}
.tvflex-benefits li,.tvflex-methods li{list-style:none}
.tvflex-benefits .tvflex-icon{color:#80deca}
.tvflex-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.tvflex-card{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(.85rem,2vw,1.35rem);border:1px solid var(--flex-line);border-radius:14px;background:#fff}
.tvflex-card ul{padding-left:1.1rem;margin:0 0 1rem}
.tvflex-card-photo{width:100%;margin:0 0 .85rem!important}
.tvflex-card-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin:0}
.tvflex-card .tvflex-button{margin-top:auto}
.tvflex-icon-box{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e6edff;color:#204dbd}
.tvflex-price{font-weight:800;color:#204dbd}
.tvflex-note{font-size:.92rem;color:var(--flex-muted)}
.tvflex-coverage{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:1.35rem}
.tvflex-coverage img,.tvflex-final img{height:clamp(185px,24vw,260px)}
.tvflex-quick-list{columns:2;padding-left:1.15rem}
.tvflex-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;padding:0!important;list-style:none;counter-reset:flex-step}
.tvflex-steps li{counter-increment:flex-step;padding:.9rem;border:1px solid var(--flex-line);border-radius:12px;list-style:none;background:var(--flex-ice)}
.tvflex-steps li::before{content:counter(flex-step);display:grid;place-items:center;width:1.65rem;height:1.65rem;background:#2454d6;color:#fff;border-radius:50%;font-size:.85rem;margin-bottom:.55rem}
.tvflex-steps strong,.tvflex-steps span{display:block}
.tvflex-steps span{color:var(--flex-muted);font-size:.9rem}
.tvflex-booking,.tvflex-callout{padding:clamp(1rem,3vw,2rem);border:1px solid var(--flex-line);border-radius:16px;background:var(--flex-ice)}
.tvflex-booking{scroll-margin-top:6rem}
.tvflex-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:.9rem}
.tvflex .tvflex-booking .tvflex-form-grid label{display:block;color:var(--flex-text);font-weight:700}
.tvflex-form-grid input,.tvflex-form-grid select,.tvflex-form-grid textarea{display:block;width:100%;margin-top:.25rem;min-height:44px;padding:.6rem;border:1px solid #a5b5ce;border-radius:8px;background:#fff;color:var(--flex-text);font:inherit}
.tvflex-form-grid .tvflex-wide{grid-column:1/-1}
.tvflex .tvflex-booking .tvflex-consent{display:flex;align-items:flex-start;justify-content:flex-start;gap:.55rem;margin:1rem 0;color:var(--flex-text)}
.tvflex .tvflex-consent input[type=checkbox]{flex:0 0 auto;width:1.1rem;height:1.1rem;min-height:0;margin:.22rem 0 0;padding:0;accent-color:var(--flex-blue)}
.tvflex-honey{position:absolute!important;left:-10000px!important}
.tvflex-estimate:not(:empty),.tvflex-status:not(:empty){padding:.8rem 1rem;margin:1rem 0;border:1px solid var(--flex-line);border-radius:10px;background:#fff}
.tvflex-estimate:empty,.tvflex-status:empty,.tvflex .tvflex-booking [hidden]{display:none}
.tvflex .tvflex-booking .tvflex-form-grid label[hidden]{display:none}
.tvflex-estimate>div{display:flex;justify-content:space-between;gap:1rem;padding:.22rem 0}
.tvflex-estimate>div:last-child{border-top:1px solid var(--flex-line);font-weight:800;margin-top:.3rem}
.tvflex-estimate dd{margin:0;text-align:right}
.tvflex-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.tvflex-methods li{display:grid;place-items:center;min-height:48px;padding:.4rem .7rem;border:1px solid var(--flex-line);border-radius:8px}
.tvflex-methods img{display:block;width:auto;max-width:110px;height:28px;object-fit:contain;margin:0}
.tvflex-table{overflow:auto}
.tvflex-table table{width:100%;min-width:475px;border-collapse:collapse;text-align:left}
.tvflex-table th,.tvflex-table td{padding:.6rem;border-bottom:1px solid var(--flex-line)}
.tvflex-table thead{background:var(--flex-navy);color:white}
.tvflex-faq details{padding:.75rem .25rem;border-bottom:1px solid var(--flex-line)}
.tvflex-faq summary{cursor:pointer;font-weight:750}
#site-navigation .nav-links .tvflex-menu{flex:0 0 auto}
#site-navigation .nav-links .tvflex-menu>a{display:inline-flex;align-items:center;min-height:2.25rem;padding:.4rem .7rem;border-radius:8px;background:#eef3ff;color:#153c9c;box-shadow:inset 0 0 0 1px #b6c9f4;white-space:nowrap;font-weight:800;line-height:1.2}
#site-navigation .nav-links .tvflex-menu>a:hover{background:#dce7ff}
#site-navigation .nav-links .tvflex-menu>a[aria-current="page"]{background:#153c9c;color:#fff;box-shadow:none}
#site-navigation .nav-links li:not(.tvflex-menu)>a:is([aria-current="page"],.tvflex-current-section),
#site-navigation .mega.tvflex-current-service>summary{color:#153c9c;background:#edf3ff;border-radius:4px;box-shadow:0 0 0 4px #edf3ff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.32em}
#site-navigation .service-menu-links a[aria-current="page"]{color:#153c9c;background:#edf3ff;text-decoration:underline;text-underline-offset:.22em}

/* Keep the primary links and Emergency Support on the same desktop row. */
@media (min-width: 1024px) {
    .site-header #site-navigation .nav-links {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

@media (1250px < width < 1800px) {
    .site-header .header-inner:has(#site-navigation) {
        grid-template-columns: clamp(145px, 11vw, 185px) minmax(0, 1fr) auto;
        column-gap: clamp(12px, calc(4vw - 42px), 18px);
        padding-inline: clamp(24px, calc(9vw - 88px), 72px);
    }
    .site-header .header-inner:has(#site-navigation) > .custom-logo-link img {
        max-width: min(100%, 185px);
        height: auto;
    }
    .site-header #site-navigation .nav-links {
        gap: clamp(8px, calc(2vw - 20px), 14px);
    }
}

/* Give the complete menu its own full-width row on compact desktop windows. */
@media (1024px <= width <= 1250px) {
    .site-header .header-inner:has(#site-navigation) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
        height: auto;
        padding-block: 10px 8px;
    }
    .site-header .header-inner:has(#site-navigation) > :is(.brand, .custom-logo-link) {
        grid-area: 1 / 1;
        justify-self: start;
    }
    .site-header .header-inner:has(#site-navigation) > .custom-logo-link img {
        max-width: 160px;
        max-height: 48px;
        height: auto;
    }
    .site-header .header-inner:has(#site-navigation) > .header-quote {
        grid-area: 1 / 2;
        justify-self: end;
        font-size: 12px;
    }
    .site-header .mobile-toggle[aria-controls="site-navigation"] {
        display: none;
    }
    .site-header .header-inner:has(#site-navigation) > .search-toggle:not([hidden]) {
        grid-area: 1 / 1;
        justify-self: end;
    }
    .site-header #site-navigation { display: contents; }
    .site-header #site-navigation .nav-links,
    .site-header #site-navigation .service-navigation {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin: 0;
    }
    .site-header #site-navigation .nav-links { grid-row: 2; }
    .site-header #site-navigation .service-navigation {
        grid-row: 3;
        padding-top: 4px;
        border-top: 1px solid #e1e7f2;
    }
    .site-header #site-navigation .nav-links > li > a,
    .site-header #site-navigation .service-navigation > .mega > summary {
        padding-block: 8px;
        font-size: 11px;
        white-space: nowrap;
    }
    .site-header #site-navigation .nav-links .tvaer-menu-urgent > a {
        margin-block: 0;
        min-height: 44px !important;
    }
    .site-header #site-navigation .mega-panel {
        position: absolute;
        max-height: calc(100dvh - 200px);
        background: #fff;
    }
}

.tvflex-footer{text-align:center;padding:.7rem;background:#0b1730}
.tvflex-footer a{color:#fff}
.tvflex-float{position:fixed;z-index:900;bottom:1rem;right:1rem}
.tvflex-float>[data-tvflex-open]{box-shadow:0 7px 24px #06194250}
.contact-dock.tvflex-contact-dock {
    right: 28px;
    align-items: stretch;
    pointer-events: none;
}
.tvflex-contact-dock > :is(button, .dock-phone) {
    min-height: 44px;
    padding-block: .55rem;
    line-height: 1.25;
    pointer-events: auto;
}
.tvflex-contact-dock > [data-tvflex-open] {
    margin-inline-start: auto;
    border-color: transparent;
    border-radius: 10px;
    background: #2857dd;
    color: #fff;
    box-shadow: 0 7px 24px #06194250;
}
.tvflex-contact-dock > [data-tvflex-open]:hover { background: #1744c1; }
.tvflex-contact-dock > [data-tvflex-open]:focus-visible { outline: 3px solid #4b89f3; outline-offset: 3px; }
@media (max-width: 640px) {
    .contact-dock.tvflex-contact-dock { right: 14px; }
    .tvflex-contact-dock > :is(button, .dock-phone) {
        gap: 5px;
        padding-inline: clamp(5px, 2vw, 13px);
    }
    .tvflex-contact-dock > [data-tvflex-open] .tvflex-icon { width: 16px; height: 16px; }
}
.tvflex-dialog {
    --chat-gutter: 1rem;
    position: fixed;
    inset: auto calc(var(--chat-right, 0px) + var(--chat-gutter)) calc(var(--chat-bottom, 0px) + var(--chat-gutter)) auto;
    width: min(420px, calc(var(--chat-width, 100%) - var(--chat-gutter) * 2));
    height: min(610px, calc(var(--chat-height, 100%) - var(--chat-gutter) * 2));
    margin: 0;
    padding: 0;
    border: 1px solid #cedbef;
    border-radius: 16px;
    box-shadow: 0 18px 60px #081a4050;
    background: var(--flex-ice);
    color: var(--flex-text);
    overflow: hidden;
    font-size: 1rem;
}
.tvflex-dialog[open] { display: flex; flex-direction: column; }
.tvflex-dialog::backdrop { background: #091c3a33; }
.tvflex-dialog [hidden] { display: none !important; }
.tvflex-chat-header {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem .45rem 1rem;
    background: #153c9c;
    color: #fff;
}
.tvflex-dialog .tvflex-chat-header h2 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: normal;
}
.tvflex-chat-header img {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 3px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}
.tvflex-chat-header button {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff2;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}
.tvflex-chat-log { display: flex; flex-direction: column; flex: 1 1 0; min-height: 2.4rem; padding: .8rem 1rem; overflow-y: auto; }
.tvflex-chat-log p { width: fit-content; max-width: 93%; padding: .55rem .7rem; margin: 0 0 .55rem; }
.tvflex-chat-log > p:first-child { margin-top: auto; }
.tvflex-chat-prompt { background: #e2ecff; border-radius: 12px 12px 12px 3px; }
.tvflex-chat-log .tvflex-chat-answer {
    margin-left: auto;
    border-radius: 12px 12px 3px 12px;
    background: #153c9c;
    color: #fff;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.tvflex-dialog [data-flex-chat-form], .tvflex-chat-confirmation {
    flex: 0 0 auto;
    max-height: calc(100% - 6rem);
    padding: .85rem 1rem;
    border-top: 1px solid var(--flex-line);
    background: #fff;
    overflow-y: auto;
}
.tvflex-dialog fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tvflex-dialog legend { padding: 0; font-weight: 800; }
.tvflex-dialog .tvflex-chat-field { display: block; margin: .45rem 0; color: var(--flex-text); font-size: .85rem; font-weight: 650; }
.tvflex-chat-field input, .tvflex-chat-field select, .tvflex-chat-field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: .2rem;
    padding: .45rem .55rem;
    border: 1px solid #a5b5ce;
    border-radius: 8px;
    background: #fff;
    color: var(--flex-text);
    font: inherit;
    font-size: max(1rem, 16px);
}
.tvflex-chat-field textarea { resize: vertical; }
.tvflex-dialog small { display: block; color: var(--flex-muted); }
.tvflex-dialog .tvflex-consent { display: flex; gap: .55rem; align-items: flex-start; margin: .6rem 0; color: var(--flex-text); }
.tvflex-chat-actions { display: flex; gap: .55rem; justify-content: flex-end; margin-top: .7rem; }
.tvflex-dialog .tvflex-chat-status { margin: .4rem 0 0; font-size: .88rem; color: var(--flex-muted); }
.tvflex-chat-status:empty { display: none; }
.tvflex-chat-confirmation p { margin-top: 0; }
.tvflex a:focus-visible,.tvflex button:focus-visible,.tvflex-float a:focus-visible{outline:3px solid #4b89f3;outline-offset:3px}
@media(max-width:760px){.tvflex-home,.tvflex-hero,.tvflex-coverage{grid-template-columns:1fr}.tvflex-home .tvflex-photo{order:2}.tvflex-cards,.tvflex-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.tvflex-float{right:.7rem}.tvflex-dialog{--chat-gutter:.7rem}}
@media(max-width:490px){.tvflex-cards,.tvflex-form-grid,.tvflex-mini-grid{grid-template-columns:1fr}.tvflex-quick-list{columns:1}.tvflex-photo img{height:210px}}
