/*
	Theme Name: Tavus Transportation
	Theme URI: http://vicodemedia.com
	Description: Tavus Transportation WordPress Theme
	Version: 1.1.0
	Author: Victor Rusu
	Author URI: http://ruvictor.com
*/

/* ==========================================================================
   Tavus Transportation - modern header + footer
   Colors are taken from the logo and the page content:
   brand red #BA001F, navy #152331, flag blue #0A3161, night #0A131B.
   Everything is namespaced with "tv-" so it never collides with the
   legacy theme CSS.
   ========================================================================== */

:root {
    --tv-red: #BA001F;
    --tv-red-dark: #93001A;
    --tv-red-bright: #E5243F;      /* red for text/icons on dark backgrounds */
    --tv-navy: #152331;
    --tv-ink: #0D1922;
    --tv-night: #0A131B;
    --tv-blue: #0A3161;
    --tv-blue-bright: #3366B8;     /* flag blue on dark backgrounds */
    --tv-flag-white: #E6EAF0;
    --tv-text: #515D68;
    --tv-line: rgba(21, 35, 49, .09);
    --tv-display: "Barlow Condensed", Oswald, Impact, sans-serif;
    --tv-sans: Inter, "Open Sans", Helvetica, Arial, sans-serif;
    --tv-max: 1240px;
    --tv-max-wide: 1440px;
    --tv-gutter: 24px;
    --tv-ease: cubic-bezier(.2, .7, .2, 1);
    --tv-topbar-h: 40px;
}

/* ---------- Base / resets scoped to the new components ---------- */
.tv-header, .tv-header *, .tv-header *::before, .tv-header *::after,
.tv-drawer, .tv-drawer *, .tv-drawer *::before, .tv-drawer *::after,
.tv-footer, .tv-footer *, .tv-footer *::before, .tv-footer *::after,
.tv-totop, .tv-skip {
    box-sizing: border-box;
}

.tv-header ul, .tv-drawer ul, .tv-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tv-header li, .tv-drawer li, .tv-footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tv-header li::before, .tv-drawer li::before, .tv-footer li::before {
    content: none;
}

:is(.tv-header, .tv-drawer, .tv-footer, .tv-totop) .tv-icon {
    display: block;
    flex-shrink: 0;
}

.tv-container {
    width: 100%;
    max-width: var(--tv-max);
    margin: 0 auto;
    padding: 0 var(--tv-gutter);
}

.tv-header .tv-container {
    max-width: var(--tv-max-wide);
}

:is(.tv-header, .tv-drawer, .tv-footer) a:focus-visible,
:is(.tv-header, .tv-drawer, .tv-footer) button:focus-visible,
a.tv-totop:focus-visible {
    outline: 2px solid var(--tv-red-bright);
    outline-offset: 3px;
}

a.tv-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 3000;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--tv-red);
    color: #fff;
    font: 600 14px/1 var(--tv-sans);
    text-decoration: none;
    transition: top .2s;
}

a.tv-skip:focus {
    top: 12px;
    color: #fff;
}

.tv-anchor {
    display: block;
    height: 0;
    outline: none;
}

html.tv-lock {
    overflow: hidden;
}

/* Tiny red / white / blue flag stripe */
.tv-flag {
    display: inline-block;
    flex-shrink: 0;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tv-red) 0 33.33%, var(--tv-flag-white) 33.33% 66.66%, var(--tv-blue-bright) 66.66% 100%);
}

/* Office open / closed pill */
.tv-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tv-status__dot {
    position: relative;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7D8A97;
}

.tv-status.is-open .tv-status__dot {
    background: #22C55E;
}

.tv-status.is-open .tv-status__dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, .55);
    animation: tv-ping 1.8s var(--tv-ease) infinite;
}

.tv-status.is-closed .tv-status__dot {
    background: var(--tv-red-bright);
}

@keyframes tv-ping {
    0%   { transform: scale(.6); opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Social icons */
:is(.tv-header, .tv-drawer, .tv-footer) .tv-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-decoration: none;
    transition: background .25s, border-color .25s, transform .25s var(--tv-ease);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-social a:hover {
    background: var(--tv-red);
    border-color: var(--tv-red);
    color: #fff;
    transform: translateY(-2px);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-social .tv-icon {
    width: 18px;
    height: 18px;
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-social--sm a {
    width: 26px;
    height: 26px;
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-social--sm .tv-icon {
    width: 13px;
    height: 13px;
}

/* Buttons */
:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--tv-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--tv-ease);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn .tv-icon {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--tv-ease);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn:hover .tv-icon--arrow {
    transform: translateX(4px);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--red {
    background: var(--tv-red);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(186, 0, 31, .8);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--red:hover,
:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--red:focus-visible {
    background: var(--tv-red-dark);
    color: #fff;
    box-shadow: 0 16px 28px -12px rgba(186, 0, 31, .85);
    transform: translateY(-1px);
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--ghost {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

:is(.tv-header, .tv-drawer, .tv-footer) .tv-btn--block {
    width: 100%;
    height: 54px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.tv-header {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--tv-topbar-h) * -1); /* utility bar scrolls away, main bar sticks */
    z-index: 1000;
    font-family: var(--tv-sans);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Utility bar ---------- */
.tv-header .tv-topbar {
    height: var(--tv-topbar-h);
    background: var(--tv-night);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1;
}

.tv-header .tv-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.tv-header .tv-topbar__group {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.tv-header .tv-status {
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 500;
}

.tv-header .tv-topbar__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tv-header .tv-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.tv-header .tv-topbar__link:hover {
    color: #fff;
    text-decoration: none;
}

.tv-header .tv-topbar__link .tv-icon {
    width: 14px;
    height: 14px;
    color: var(--tv-red-bright);
}

.tv-header .tv-topbar__sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .14);
}

/* ---------- Main bar ---------- */
.tv-header .tv-bar {
    position: relative;
    border-bottom: 1px solid var(--tv-line);
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    transition: background .3s, box-shadow .3s;
}

.tv-header.is-stuck .tv-bar {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px -18px rgba(13, 25, 34, .38);
}

.tv-header .tv-bar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 88px;
    transition: height .35s var(--tv-ease);
}

.tv-header.is-stuck .tv-bar__inner {
    height: 72px;
}

.tv-header .tv-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.tv-header .tv-logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 52px;
    transition: height .35s var(--tv-ease);
}

.tv-header.is-stuck .tv-logo img {
    height: 44px;
}

/* ---------- Navigation ---------- */
.tv-header .tv-nav {
    margin-left: auto;
}

.tv-header .tv-nav__list {
    display: flex;
    align-items: center;
}

.tv-header .tv-nav__link {
    position: relative;
    display: block;
    padding: 12px 11px;
    color: var(--tv-navy);
    font-family: var(--tv-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.tv-header .tv-nav__link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 3px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tv-red) 0 62%, var(--tv-blue) 62% 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--tv-ease);
}

.tv-header .tv-nav__link:hover,
.tv-header .tv-nav__link:focus-visible,
.tv-header .tv-nav__link.is-active {
    color: var(--tv-red);
    text-decoration: none;
}

.tv-header .tv-nav__link:hover::after,
.tv-header .tv-nav__link:focus-visible::after,
.tv-header .tv-nav__link.is-active::after {
    transform: scaleX(1);
}

/* ---------- Right-hand actions ---------- */
.tv-header .tv-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
}

.tv-header .tv-call {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tv-navy);
    text-decoration: none;
}

.tv-header .tv-call__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid rgba(21, 35, 49, .14);
    border-radius: 50%;
    background: #fff;
    color: var(--tv-red);
    transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}

.tv-header .tv-call__icon .tv-icon {
    width: 19px;
    height: 19px;
}

.tv-header .tv-call:hover .tv-call__icon {
    border-color: var(--tv-red);
    background: var(--tv-red);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(186, 0, 31, .7);
}

.tv-header .tv-call__text {
    display: none;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
}

.tv-header .tv-call__label {
    color: var(--tv-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tv-header .tv-call__num {
    color: var(--tv-navy);
    font-family: var(--tv-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: color .2s;
}

.tv-header .tv-call:hover .tv-call__num {
    color: var(--tv-red);
}

/* Hamburger */
.tv-header .tv-burger {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1.5px solid rgba(21, 35, 49, .14);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s;
}

.tv-header .tv-burger:hover {
    border-color: var(--tv-navy);
}

.tv-header .tv-burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--tv-navy);
    transition: right .3s var(--tv-ease);
}

.tv-header .tv-burger span:nth-child(1) { top: calc(50% - 7px); }
.tv-header .tv-burger span:nth-child(2) { top: calc(50% - 1px); right: 20px; background: var(--tv-red); }
.tv-header .tv-burger span:nth-child(3) { top: calc(50% + 5px); }

.tv-header .tv-burger:hover span:nth-child(2) {
    right: 13px;
}

/* ---------- Mobile menu (drawer) ---------- */
.tv-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    font-family: var(--tv-sans);
    -webkit-font-smoothing: antialiased;
    transition: visibility 0s linear .45s;
}

.tv-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.tv-drawer .tv-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(10, 19, 27, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .35s ease;
}

.tv-drawer.is-open .tv-drawer__scrim {
    opacity: 1;
}

.tv-drawer .tv-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(440px, 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--tv-night);
    color: #fff;
    box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    transition: transform .45s var(--tv-ease);
}

.tv-drawer .tv-drawer__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tv-red) 0 33.33%, var(--tv-flag-white) 33.33% 66.66%, var(--tv-blue-bright) 66.66% 100%);
}

.tv-drawer.is-open .tv-drawer__panel {
    transform: none;
}

.tv-drawer .tv-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tv-drawer .tv-drawer__logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 40px;
    filter: brightness(0) invert(1);
}

.tv-drawer .tv-drawer__close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .3s var(--tv-ease);
}

.tv-drawer .tv-drawer__close:hover {
    border-color: var(--tv-red);
    background: var(--tv-red);
    transform: rotate(90deg);
}

.tv-drawer .tv-drawer__close .tv-icon {
    width: 20px;
    height: 20px;
}

.tv-drawer .tv-drawer__nav {
    padding: 8px 24px 20px;
}

.tv-drawer .tv-drawer__nav li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .4s ease, transform .5s var(--tv-ease);
}

.tv-drawer.is-open .tv-drawer__nav li {
    opacity: 1;
    transform: none;
}

.tv-drawer.is-open .tv-drawer__nav li:nth-child(1) { transition-delay: .06s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(2) { transition-delay: .10s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(3) { transition-delay: .14s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(4) { transition-delay: .18s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(5) { transition-delay: .22s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(6) { transition-delay: .26s; }
.tv-drawer.is-open .tv-drawer__nav li:nth-child(7) { transition-delay: .30s; }

.tv-drawer .tv-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: #fff;
    font-family: var(--tv-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s, padding .3s var(--tv-ease);
}

.tv-drawer .tv-drawer__link .tv-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, .3);
    transition: transform .3s var(--tv-ease), color .2s;
}

.tv-drawer .tv-drawer__link:hover {
    padding-left: 8px;
    color: #fff;
    text-decoration: none;
}

.tv-drawer .tv-drawer__link:hover .tv-icon {
    color: var(--tv-red-bright);
    transform: translateX(4px);
}

.tv-drawer .tv-drawer__link.is-active {
    color: var(--tv-red-bright);
}

.tv-drawer .tv-drawer__link.is-active .tv-icon {
    color: var(--tv-red-bright);
}

.tv-drawer .tv-drawer__foot {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.tv-drawer .tv-drawer__info {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.tv-drawer .tv-drawer__info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.4;
}

.tv-drawer .tv-drawer__info .tv-icon {
    width: 18px;
    height: 18px;
    color: var(--tv-red-bright);
}

.tv-drawer .tv-drawer__info a {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
}

.tv-drawer .tv-drawer__info a:hover {
    color: #fff;
}

.tv-drawer .tv-status {
    white-space: normal;
}

/* ---------- Header breakpoints ---------- */
@media (min-width: 1440px) {
    .tv-header .tv-call__text {
        display: flex;
    }
}

@media (max-width: 1199px) {
    .tv-header .tv-nav {
        display: none;
    }

    .tv-header .tv-burger {
        display: block;
    }

    .tv-header .tv-actions {
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .tv-header .tv-topbar__tag {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --tv-topbar-h: 0px;
    }

    .tv-header .tv-topbar {
        display: none;
    }

    .tv-header .tv-bar__inner {
        gap: 12px;
        height: 72px;
    }

    .tv-header.is-stuck .tv-bar__inner {
        height: 64px;
    }

    .tv-header .tv-logo img {
        height: 42px;
    }

    .tv-header.is-stuck .tv-logo img {
        height: 38px;
    }

    .tv-header .tv-actions {
        gap: 10px;
    }

    .tv-header .tv-call__icon,
    .tv-header .tv-burger {
        width: 44px;
        height: 44px;
    }

    .tv-header .tv-actions__quote {
        height: 44px;
        padding: 0 16px;
    }
}

@media (max-width: 559px) {
    :root {
        --tv-gutter: 16px;
    }

    .tv-header .tv-actions__quote {
        display: none;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tv-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 72px;
    background: var(--tv-night);
    color: rgba(255, 255, 255, .66);
    font-family: var(--tv-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* soft red + blue glows and a faint grid, echoing the dark page sections */
.tv-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(600px 420px at 100% 0%, rgba(186, 0, 31, .16), transparent 70%),
        radial-gradient(700px 520px at 0% 100%, rgba(10, 49, 97, .45), transparent 70%);
    pointer-events: none;
}

.tv-footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    pointer-events: none;
}

.tv-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.tv-footer p {
    margin: 0;
}

/* ---------- Columns ---------- */
.tv-footer .tv-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr .7fr 1fr 1.35fr;
    gap: 48px;
    padding-bottom: 56px;
}

.tv-footer .tv-fbrand__logo {
    display: inline-block;
}

.tv-footer .tv-fbrand__logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 50px;
    filter: brightness(0) invert(1);
}

.tv-footer .tv-fbrand__text {
    max-width: 390px;
    margin: 22px 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    line-height: 1.75;
}

.tv-footer .tv-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tv-footer .tv-fcol__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 24px;
    padding: 0;
    color: #fff;
    font-family: var(--tv-display);
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tv-footer .tv-fcol__title::after {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tv-red) 0 62%, var(--tv-blue-bright) 62% 100%);
}

.tv-footer .tv-flinks {
    display: grid;
    gap: 13px;
}

.tv-footer .tv-flinks a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.4;
}

.tv-footer .tv-flinks a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    border-radius: 2px;
    background: var(--tv-red-bright);
    transition: width .25s var(--tv-ease), margin .25s var(--tv-ease);
}

.tv-footer .tv-flinks a:hover {
    color: #fff;
}

.tv-footer .tv-flinks a:hover::before {
    width: 14px;
    margin-right: 10px;
}

.tv-footer .tv-fcontact {
    display: grid;
    gap: 18px;
}

.tv-footer .tv-fcontact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tv-footer .tv-fcontact__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--tv-red);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(186, 0, 31, .7);
}

.tv-footer .tv-fcontact__icon .tv-icon {
    width: 18px;
    height: 18px;
}

.tv-footer .tv-fcontact__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.tv-footer .tv-fcontact__label {
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tv-footer .tv-fcontact__body a {
    color: #fff;
    overflow-wrap: anywhere;
}

.tv-footer .tv-fcontact__body a:hover {
    color: var(--tv-red-bright);
}

/* ---------- Road divider (lane markings roll under the truck) ---------- */
.tv-footer .tv-road {
    position: relative;
    height: 2px;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 26px, transparent 26px 52px);
    background-size: 52px 2px;
    animation: tv-road 1.2s linear infinite;
}

.tv-footer .tv-road__truck {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: var(--tv-night);
    color: var(--tv-red-bright);
    box-shadow: 0 0 0 8px var(--tv-night);
    transform: translateY(-50%);
}

.tv-footer .tv-road__truck .tv-icon {
    width: 22px;
    height: 22px;
}

@keyframes tv-road {
    to { background-position: -52px 0; }
}

/* ---------- Bottom bar ---------- */
.tv-footer .tv-fbottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 40px;
    padding: 30px 0 34px;
    color: rgba(255, 255, 255, .5);
    font-size: 13.5px;
    line-height: 1.6;
}

.tv-footer .tv-fbottom .tv-fbottom__recaptcha {
    margin-top: 4px;
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
}

.tv-footer .tv-fbottom__recaptcha a {
    color: rgba(255, 255, 255, .6);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tv-footer .tv-fbottom__recaptcha a:hover {
    color: #fff;
}

.tv-footer .tv-fbottom__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 26px;
}

.tv-footer .tv-fbottom__links li {
    color: rgba(255, 255, 255, .5);
}

.tv-footer .tv-fbottom__links a {
    color: rgba(255, 255, 255, .75);
}

.tv-footer .tv-fbottom__links a:hover {
    color: #fff;
}

/* Giant outlined wordmark at the bottom of the footer (fully visible) */
.tv-footer .tv-footer__mark {
    position: relative;
    margin: -.1em 0 -.1em;
    color: rgba(255, 255, 255, .035);
    -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
    font-family: var(--tv-display);
    font-size: clamp(90px, 16vw, 260px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ---------- Back to top ---------- */
a.tv-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tv-red);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 28px -12px rgba(186, 0, 31, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s var(--tv-ease), background .2s, visibility 0s linear .3s;
}

a.tv-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

a.tv-totop:hover {
    background: var(--tv-red-dark);
    color: #fff;
    transform: translateY(-3px);
}

a.tv-totop .tv-icon {
    width: 20px;
    height: 20px;
}

/* ---------- Footer breakpoints ---------- */
@media (max-width: 1099px) {
    .tv-footer .tv-footer__grid {
        grid-template-columns: 1fr 1fr 1.4fr;
        gap: 44px 32px;
    }

    .tv-footer .tv-fbrand {
        grid-column: 1 / -1;
    }

    .tv-footer .tv-fbrand__text {
        max-width: 560px;
    }
}

@media (max-width: 991px) {
    .tv-footer .tv-fbottom {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .tv-footer {
        padding-top: 56px;
    }

    .tv-footer .tv-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .tv-footer .tv-fcol--contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479px) {
    .tv-footer .tv-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tv-footer .tv-badge {
        letter-spacing: .08em;
    }

    a.tv-totop {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    .tv-header *, .tv-header *::before, .tv-header *::after,
    .tv-drawer *, .tv-drawer *::before, .tv-drawer *::after,
    .tv-footer *, .tv-footer *::before, .tv-footer *::after,
    a.tv-totop {
        animation: none !important;
        transition: none !important;
    }
}
