:root {
    --taxi-navy: #0c2b45;
    --taxi-blue: #1d5b82;
    --taxi-yellow: #e7bd4c;
    --taxi-ink: #14324a;
    --taxi-muted: #607789;
    --taxi-paper: #ffffff;
    --taxi-wash: #f2f6f9;
    --taxi-line: #d7e1e8;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    color: var(--taxi-ink);
    background: var(--taxi-paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body,
body input,
body button,
body select,
body textarea {
    font-family: "Segoe UI", Arial, sans-serif;
}

body a {
    color: var(--taxi-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body a:hover {
    color: var(--taxi-navy);
}

body :focus-visible {
    outline: 3px solid var(--taxi-yellow);
    outline-offset: 3px;
}

header.fixed {
    z-index: 1000;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--taxi-line);
    box-shadow: none;
}

header.fixed .header-inner {
    min-height: 76px;
}

#new-home-page header.fixed .header-left ul li a,
#new-home-page header.fixed .header-right li a {
    color: var(--taxi-ink) !important;
    font-weight: 600;
    text-transform: none;
}

#new-home-page header.fixed .header-right li a:hover {
    color: var(--taxi-blue) !important;
}

header.fixed .header-left .logo img {
    width: auto;
    max-width: 190px;
    max-height: 52px;
    object-fit: contain;
}

#new-home-page header.fixed .header-right li.login a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--taxi-blue) !important;
    border-radius: 4px;
    background: transparent !important;
    color: var(--taxi-blue) !important;
    text-decoration: none;
}

#new-home-page header.fixed .header-right li.login.active a {
    background: var(--taxi-blue) !important;
    color: var(--taxi-paper) !important;
}

#new-home-page header.fixed .header-right li.login.active a:hover {
    border-color: var(--taxi-navy) !important;
    background: var(--taxi-navy) !important;
    color: var(--taxi-paper) !important;
}

.user-menu {
    background: var(--taxi-navy);
}

.user-menu li a {
    color: var(--taxi-paper);
}

#new-home-page .banner {
    min-height: 520px;
    padding: 112px 24px 72px;
    background: var(--taxi-wash);
}

#new-home-page .banner::after {
    display: none;
}

#new-home-page .banner-inner {
    display: flex;
    align-items: center;
    gap: clamp(36px, 7vw, 100px);
    width: min(1180px, 100%);
    margin: 0 auto;
    flex-wrap: nowrap;
}

#new-home-page .banner-left,
#new-home-page .banner-right {
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

#new-home-page .banner-content h1 {
    max-width: 13ch;
    margin: 0 0 22px;
    color: var(--taxi-navy);
    font-family: inherit;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-transform: none;
}

#new-home-page .banner-content p {
    max-width: 52ch;
    color: var(--taxi-muted);
    font-size: 18px;
    line-height: 1.7;
}

#new-home-page .app-store-btn h3 {
    margin: 24px 0 12px;
    color: var(--taxi-navy);
    font-family: inherit;
    font-size: 18px;
    font-weight: 650;
    text-transform: none;
}

#new-home-page .banner-shape {
    display: none;
}

.taxi-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 42px);
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border-radius: 3px;
    background: #e5eef4;
    color: var(--taxi-navy);
    font-size: 84px;
}

.taxi-hero-art::before {
    position: absolute;
    top: 16%;
    left: 21%;
    width: 58%;
    height: 66%;
    border: 2px dashed rgba(29, 91, 130, 0.38);
    border-left-color: transparent;
    border-radius: 48%;
    content: "";
    transform: rotate(-17deg);
}

.taxi-hero-art i {
    position: relative;
    z-index: 1;
    color: var(--taxi-blue);
}

.taxi-hero-art .fa-road {
    position: absolute;
    right: 12%;
    bottom: 10%;
    width: auto;
    color: var(--taxi-navy);
    font-size: 42px;
}

.banner-section {
    min-height: 570px;
    background: var(--taxi-navy);
}

.banner-section .banner-back::after {
    background: linear-gradient(90deg, rgba(12, 43, 69, 0.84), rgba(12, 43, 69, 0.28));
}

.banner-section-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.banner-section .categories-block {
    max-width: 560px;
    padding: 42px 0;
}

.banner-section .categories-caption h2 {
    max-width: 14ch;
    color: var(--taxi-paper);
    font-family: inherit;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.12;
    text-transform: none;
}

.banner-section .categories-caption p {
    max-width: 54ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.7;
}

.banner-section .book-btn,
#new-home-page .book-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 11px 20px;
    border: 0;
    border-radius: 4px;
    background: var(--taxi-yellow);
    color: var(--taxi-navy);
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
}

.banner-section .book-btn:hover,
#new-home-page .book-btn:hover {
    background: #f0cf75;
    color: var(--taxi-navy);
}

.banner-section .book-btn img {
    width: 16px;
}

.banner-section .tab-row-holding {
    margin-top: 18px;
}

.banner-section .tab-row .tab {
    color: var(--taxi-ink);
}

.rootservices,
.page-section {
    padding: 76px 24px;
    background: var(--taxi-paper);
}

.rootservices-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.common-title {
    max-width: 720px;
    margin: 0 0 36px;
    text-align: left;
}

.common-title h3,
.common-title h2 {
    margin: 0 0 12px;
    color: var(--taxi-navy);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.common-title p {
    margin: 0;
    color: var(--taxi-muted);
    font-size: 17px;
}

.taxi-services ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.taxi-services ul li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    border-top: 1px solid var(--taxi-line);
    background: transparent !important;
}

.taxi-service-card,
.taxi-services.rootservices ul li a.taxi-service-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-content: start;
    column-gap: 16px;
    min-height: 168px;
    padding: 24px 0;
    background: transparent;
    color: var(--taxi-ink);
    text-decoration: none;
}

.taxi-service-card i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: var(--taxi-wash);
    color: var(--taxi-blue);
    font-size: 20px;
}

.taxi-service-card strong {
    align-self: center;
    color: var(--taxi-navy);
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
}

.taxi-service-card p {
    grid-column: 2;
    margin: 8px 0 0;
    color: var(--taxi-muted);
    font-size: 15px;
    line-height: 1.6;
}

.taxi-services.rootservices ul li a.taxi-service-card:hover {
    background: transparent;
}

.taxi-services.rootservices ul li a.taxi-service-card:hover strong {
    color: var(--taxi-blue);
}

.location-area {
    padding: 72px 24px;
    background: var(--taxi-wash);
}

.location-area-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.location-area form {
    max-width: 920px;
}

.location-area form .element-holder {
    margin-bottom: 14px;
}

.page-contant,
.gen-cms-page,
.profile-section,
.signup-form,
.login-main,
.page-contant-inner {
    color: var(--taxi-ink);
}

.page-contant,
.gen-cms-page,
.profile-section,
.signup-form {
    background: var(--taxi-paper);
}

body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body select,
body textarea {
    max-width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #c6d4de;
    border-radius: 4px;
    background: var(--taxi-paper);
    color: var(--taxi-ink);
    box-shadow: none;
}

body input:focus,
body select:focus,
body textarea:focus {
    border-color: var(--taxi-blue);
    box-shadow: 0 0 0 2px rgba(29, 91, 130, 0.12);
}

body button,
body input[type="submit"],
body input[type="button"],
body .btn,
body .add-btn {
    border: 1px solid var(--taxi-blue);
    border-radius: 4px;
    background: var(--taxi-blue);
    color: var(--taxi-paper);
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
}

body button:hover,
body input[type="submit"]:hover,
body input[type="button"]:hover,
body .btn:hover,
body .add-btn:hover {
    border-color: var(--taxi-navy);
    background: var(--taxi-navy);
    color: var(--taxi-paper);
}

body table {
    border-color: var(--taxi-line);
}

body th {
    background: var(--taxi-wash);
    color: var(--taxi-navy);
    font-weight: 700;
}

body td,
body th {
    padding: 12px;
    border-color: var(--taxi-line);
}

#maine-footer,
body > footer {
    background: var(--taxi-navy);
    color: rgba(255, 255, 255, 0.82);
}

#maine-footer a,
body > footer a {
    color: #ffffff;
}

#maine-footer a:hover,
body > footer a:hover {
    color: var(--taxi-yellow);
}

#maine-footer .footer-top,
body > footer .footer-top {
    padding: 54px 24px 38px;
}

#maine-footer .footer-inner,
body > footer .footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

#maine-footer .footer-bottom,
body > footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.taxi-partner-art {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: #e5eef4 !important;
    color: var(--taxi-blue);
    font-size: 74px;
}

@media (max-width: 900px) {
    #new-home-page .banner {
        min-height: 0;
        padding: 104px 24px 56px;
    }

    #new-home-page .banner-inner {
        gap: 36px;
    }

    .taxi-services ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 68px;
    }

    header.fixed .header-inner {
        min-height: 64px;
    }

    #new-home-page .banner-inner {
        display: block;
    }

    #new-home-page .banner-left,
    #new-home-page .banner-right {
        width: 100%;
    }

    #new-home-page .banner-content h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    #new-home-page .banner-right {
        margin-top: 34px;
    }

    .taxi-hero-art {
        min-height: 250px;
        font-size: 62px;
    }

    .banner-section-inner {
        width: calc(100% - 36px);
    }

    .banner-section .categories-block {
        max-width: 100%;
        padding: 28px 0;
    }

    .rootservices,
    .page-section,
    .location-area {
        padding: 52px 18px;
    }

    .taxi-services ul {
        grid-template-columns: 1fr;
    }

    .taxi-service-card,
    .taxi-services.rootservices ul li a.taxi-service-card {
        min-height: 0;
    }

    #maine-footer .footer-top,
    body > footer .footer-top {
        padding: 40px 18px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
