@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope/manrope-variablefont-wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #111111;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.tb-container {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

/* Header */
.tb-site-header {
    width: 100%;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: #ffffff;
}

.tb-site-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.tb-site-header__logo {
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tb-site-header__nav {
    min-width: 0;
}

.tb-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-menu a {
    text-decoration: none;
}

.tb-menu--primary {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tb-menu--primary a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 16px;
    color: #111111;
    white-space: nowrap;
}

/* Buttons */
.tb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tb-button--primary {
    background: #111111;
    color: #ffffff;
}

.tb-button--secondary {
    border: 1px solid rgba(17, 17, 17, 0.18);
}

/* Page body */
.tb-page-body {
    padding: 40px 0;
}

/* Footer */
.tb-site-footer {
    background: radial-gradient(circle at 20% 0%, rgba(252, 119, 0, 0.08), transparent 30%),
        linear-gradient(180deg, #111820 0%, #07090c 100%);
    color: #ffffff;
    padding: 64px 0 28px;
}

.tb-site-footer__top {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.tb-site-footer__logo {
    display: inline-block;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.tb-site-footer__description {
    max-width: 280px;
    margin: 22px 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.55;
}

.tb-footer-compact-contact {
    display: grid;
    gap: 18px;
}

.tb-footer-compact-contact__item {
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.tb-footer-compact-contact__item strong {
    color: #fc7700;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tb-site-footer a {
    color: inherit;
}

.tb-footer-compact-contact__item a,
.tb-site-footer__col a,
.tb-site-footer__legal a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.tb-footer-compact-contact__item a:hover,
.tb-site-footer__col a:hover,
.tb-site-footer__legal a:hover {
    color: #fc7700;
}

.tb-site-footer__col {
    display: grid;
    gap: 13px;
}

.tb-site-footer__heading {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.tb-site-footer__col a {
    font-size: 15px;
    line-height: 1.35;
}

.tb-site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 58px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tb-site-footer__legal a {
    font-size: 14px;
    line-height: 1.35;
}

.tb-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.tb-site-footer__bottom p {
    margin: 0;
}

@media (max-width: 1024px) {
    .tb-site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px;
    }
}

@media (max-width: 680px) {
    .tb-site-footer {
        padding: 52px 0 26px;
    }

    .tb-site-footer__top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .tb-site-footer__bottom {
        flex-direction: column;
    }
}
/* End Footer */

/* Block spacing */
.tb-site-main > .tb-block {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 767px) {
    .tb-site-main > .tb-block {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
/* End Block spacing */

/* Taxi Berlin mobile header */
.tb-site-header {
    position: relative;
    z-index: 100;
}

.tb-site-header__inner {
    position: relative;
}

.tb-site-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tb-site-header__logo-mark {
    width: 46px;
    height: 36px;
    flex: 0 0 46px;
    border-radius: 10px;
    background: transparent url("../img/logo-taxi-berlin.svg") center / contain no-repeat;
}

.tb-site-header__logo-text {
    white-space: nowrap;
}

.tb-site-header__brand {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.tb-site-header__tagline {
    margin-top: 3px;
    color: #555555;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.tb-site-header__toggle {
    display: none;
}

@media (max-width: 900px) {
    .tb-site-header__inner {
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .tb-site-header__logo-mark {
        width: 44px;
        height: 34px;
        flex-basis: 44px;
        background-size: 32px auto;
    }

    .tb-site-header__logo-text {
        font-size: 20px;
        line-height: 1;
    }

    .tb-site-header__tagline {
        font-size: 11px;
        line-height: 1.15;
    }

    .tb-site-header__toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid rgba(17, 17, 17, 0.14);
        border-radius: 12px;
        background: #ffffff;
        color: #111111;
        cursor: pointer;
    }

    .tb-site-header__toggle-line {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .tb-site-header.is-menu-open .tb-site-header__toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .tb-site-header.is-menu-open .tb-site-header__toggle-line:nth-child(2) {
        opacity: 0;
    }

    .tb-site-header.is-menu-open .tb-site-header__toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .tb-site-header__nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        padding: 12px;
        border: 1px solid rgba(17, 17, 17, 0.08);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 20px 50px rgba(17, 17, 17, 0.16);
    }

    .tb-site-header.is-menu-open .tb-site-header__nav {
        display: block;
    }

    .tb-site-header__nav .tb-menu--primary {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tb-site-header__nav .tb-menu--primary a {
        display: block;
        padding: 13px 14px;
        border-radius: 12px;
        color: #111111;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
    }

    .tb-site-header__nav .tb-menu--primary a:hover,
    .tb-site-header__nav .tb-menu--primary a:focus {
        background: #f5f5f5;
        color: #111111;
    }

    .tb-site-header__actions {
        display: none;
    }
}
