@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy-950: #061428;
    --navy-900: #0b2547;
    --navy-700: #004080;
    --sky-500: #12a0ed;
    --yellow-400: #ffd21f;
    --yellow-300: #ffe066;
    --paper-50: #f7f3ea;
    --paper-100: #ece4d3;
    --ink: #0e1d33;
    --ink-soft: #3d4c63;
    --white: #ffffff;

    --pasiak-red: #d13637;
    --pasiak-orange: #f37a10;
    --pasiak-yellow: #e2b301;
    --pasiak-green: #37973a;
    --pasiak-teal: #158575;
    --pasiak-blue: #31519d;
    --pasiak-violet: #6c395f;

    --pasiak: linear-gradient(90deg,
        var(--pasiak-red) 0 9%,
        var(--pasiak-orange) 9% 14%,
        var(--pasiak-yellow) 14% 17%,
        var(--pasiak-green) 17% 27%,
        var(--pasiak-teal) 27% 32%,
        var(--pasiak-blue) 32% 42%,
        var(--pasiak-violet) 42% 45%,
        var(--pasiak-red) 45% 56%,
        var(--pasiak-orange) 56% 62%,
        var(--pasiak-green) 62% 68%,
        var(--pasiak-yellow) 68% 72%,
        var(--pasiak-blue) 72% 82%,
        var(--pasiak-teal) 82% 87%,
        var(--pasiak-red) 87% 95%,
        var(--pasiak-orange) 95% 100%);
    --pasiak-size: 420px 100%;

    --font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;

    --container: 1160px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --radius: 12px;
    --header-height: 76px;
    --call-bar-height: 64px;
    --shadow-card: 0 1px 2px rgb(6 20 40 / 0.06), 0 8px 24px rgb(6 20 40 / 0.08);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper-50);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--navy-700);
}

main {
    flex: 1 0 auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

p {
    margin: 0 0 1rem;
}

:focus-visible {
    outline: 3px solid var(--yellow-400);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--yellow-400);
    color: var(--navy-950);
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    fill: currentColor;
}

.pasiak {
    height: 6px;
    background: var(--pasiak);
    background-size: var(--pasiak-size);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy-950);
    color: var(--white);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: calc(var(--header-height) - 6px);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
    line-height: 1;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.85rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.brand__city {
    color: var(--yellow-400);
}

.brand__operator {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.6);
}

.nav-toggle {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav__list {
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(255 255 255 / 0.85);
    transition: color 0.15s ease;
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 3px;
    background: var(--yellow-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
    color: var(--white);
}

.site-nav__list a:hover::after,
.site-nav__list a.is-active::after {
    transform: scaleX(1);
}

@media (max-width: 959px) {
    .js .nav-toggle {
        position: relative;
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 2px solid rgb(255 255 255 / 0.25);
        border-radius: 10px;
        background: transparent;
        color: var(--white);
        cursor: pointer;
    }

    .nav-toggle__bars,
    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle__bars {
        position: relative;
    }

    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle__bars::before {
        top: -7px;
    }

    .nav-toggle__bars::after {
        top: 7px;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-header__bar {
        flex-wrap: wrap;
    }

    .site-nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-bottom: 1.25rem;
    }

    .js .site-nav {
        display: none;
    }

    .js .site-nav.is-open {
        display: flex;
        max-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgb(255 255 255 / 0.12);
    }

    .site-nav__list a {
        padding: 0.9rem 0.25rem;
        font-size: 1.4rem;
        border-bottom: 1px solid rgb(255 255 255 / 0.12);
    }

    .site-nav__list a::after {
        left: 0.25rem;
        right: auto;
        width: 2.5rem;
        bottom: -1px;
    }

    .site-nav__call {
        justify-content: center;
    }
}

/* Buttons and links */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--call {
    background: var(--yellow-400);
    color: var(--navy-950);
    box-shadow: 0 4px 0 #c79f00;
}

.btn--call:hover {
    background: var(--yellow-300);
}

.btn--ghost {
    border-color: rgb(255 255 255 / 0.55);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgb(255 255 255 / 0.1);
}

.btn--lg {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--navy-700);
}

.link-arrow .icon {
    transition: transform 0.2s ease;
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

.link-arrow--light {
    color: var(--yellow-400);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yellow-400);
}

.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 6px;
    background: var(--pasiak);
    background-size: 160px 100%;
}

.eyebrow--dark {
    color: var(--navy-700);
}

/* Hero */

.hero {
    position: relative;
    display: grid;
    min-height: clamp(560px, 82vh, 780px);
    color: var(--white);
    background: var(--navy-950);
    overflow: hidden;
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 40%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(6 20 40 / 0.55) 0%, rgb(6 20 40 / 0.88) 55%, rgb(6 20 40 / 0.97) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: 2.5rem;
    padding-block: 3rem 3.5rem;
}

.hero__title {
    font-size: clamp(4.5rem, 19vw, 9rem);
    line-height: 0.82;
    letter-spacing: -0.01em;
}

.hero__taxi,
.hero__city {
    display: block;
}

.hero__city {
    color: var(--yellow-400);
}

.hero__lead {
    max-width: 34rem;
    margin: 1.5rem 0 2rem;
    font-size: clamp(1.1rem, 2.4vw, 1.3rem);
    color: rgb(255 255 255 / 0.88);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 900px) {
    .hero::after {
        background: linear-gradient(102deg, rgb(6 20 40 / 0.97) 0 44%, rgb(6 20 40 / 0.62) 44.2%, rgb(6 20 40 / 0.12) 100%);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        align-content: center;
        align-items: center;
        padding-block: 5rem;
    }
}

/* Plate - recreation of the original taxi rank sign */

.plate {
    display: grid;
    justify-self: start;
    width: min(100%, 360px);
    border: 4px solid var(--pasiak-red);
    border-radius: 14px;
    overflow: hidden;
    background: var(--yellow-400);
    color: var(--navy-950);
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 24px 48px rgb(0 0 0 / 0.45);
    transform: rotate(-2deg);
    transition: transform 0.25s ease;
}

.plate:hover {
    transform: rotate(0deg) scale(1.02);
}

.plate__top,
.plate__bottom {
    padding: 0.45rem 0.75rem;
    background: var(--pasiak-red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    text-align: center;
}

.plate__top {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.plate__bottom {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.plate__mid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 0.75rem;
    font-family: var(--font-display);
    font-weight: 800;
    white-space: nowrap;
}

.plate__hours {
    font-size: 1.3rem;
    color: var(--pasiak-red);
}

.plate__phone {
    font-size: clamp(2rem, 9vw, 2.6rem);
    letter-spacing: 0.02em;
}

@media (min-width: 900px) {
    .plate {
        justify-self: end;
        transform: rotate(-4deg);
    }
}

/* Facts */

.facts {
    background: var(--navy-900);
    color: var(--white);
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact {
    position: relative;
    display: grid;
    gap: 0.25rem;
    padding: 1.75rem 1rem 1.5rem;
    text-align: center;
}

.fact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 3rem;
    height: 5px;
    transform: translateX(-50%);
    background: var(--fact-color, var(--pasiak-red));
}

.fact:nth-child(2) { --fact-color: var(--pasiak-orange); }
.fact:nth-child(3) { --fact-color: var(--pasiak-green); }
.fact:nth-child(4) { --fact-color: var(--sky-500); }

.fact__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    line-height: 1;
    color: var(--yellow-400);
}

.fact__label {
    font-size: 0.95rem;
    color: rgb(255 255 255 / 0.75);
}

@media (min-width: 760px) {
    .facts__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fact + .fact {
        border-left: 1px solid rgb(255 255 255 / 0.1);
    }
}

/* Sections */

.section {
    padding-block: clamp(3rem, 8vw, 6rem);
}

.section--navy {
    background: var(--navy-950);
    color: var(--white);
}

.section--navy .section__title {
    color: var(--white);
}

.section--paper {
    background: var(--paper-100);
}

.section__title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.9rem, 4.5vw, 2.9rem);
    color: var(--navy-900);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-bottom: 2rem;
}

.section__head .section__title {
    margin-bottom: 0;
}

.section__note {
    margin: 1.75rem 0 0;
    color: rgb(255 255 255 / 0.8);
}

.section__note a {
    color: var(--yellow-400);
}

.split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.split__text {
    max-width: 38rem;
}

@media (min-width: 860px) {
    .split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 4rem;
    }
}

.prose p {
    font-size: 1.15rem;
}

.photo-frame {
    position: relative;
    display: block;
    margin-right: 14px;
    margin-bottom: 14px;
}

.photo-frame img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 14px 14px 0 var(--navy-900);
}

.photo-frame::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -3px;
    height: 6px;
    background: var(--pasiak);
    background-size: var(--pasiak-size);
}

/* Page hero (subpages) */

.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 7vw, 4.5rem);
    background:
        repeating-linear-gradient(135deg, rgb(255 255 255 / 0.025) 0 14px, transparent 14px 28px),
        var(--navy-900);
    color: var(--white);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--pasiak);
    background-size: var(--pasiak-size);
}

.page-hero__title {
    max-width: 22ch;
    font-size: clamp(2.4rem, 7vw, 4.25rem);
}

.page-hero__lead {
    margin: 0.75rem 0 0;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: rgb(255 255 255 / 0.78);
}

/* Price cards (home) */

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.price-card {
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-left: 6px solid var(--card-color, var(--pasiak-red));
    border-radius: 10px;
    background: rgb(255 255 255 / 0.05);
}

.price-card:nth-child(2) { --card-color: var(--pasiak-orange); }
.price-card:nth-child(3) { --card-color: var(--pasiak-green); }

.price-card__label {
    color: rgb(255 255 255 / 0.75);
}

.price-card__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--yellow-400);
}

/* Chips (home services) */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border: 2px solid var(--navy-900);
    border-radius: 999px;
    background: var(--white);
    font-weight: 600;
}

.chip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--chip-color, var(--pasiak-red));
}

.chip:nth-child(4n + 2) { --chip-color: var(--pasiak-orange); }
.chip:nth-child(4n + 3) { --chip-color: var(--pasiak-green); }
.chip:nth-child(4n + 4) { --chip-color: var(--pasiak-blue); }

/* Taxi ranks */

.ranks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
}

.rank {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.rank__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--yellow-400);
    color: var(--navy-950);
    font-size: 1.3rem;
}

.rank__name {
    margin-bottom: 0.35rem;
    font-size: 1.4rem;
    color: var(--navy-900);
}

.rank__address {
    margin-bottom: 0.75rem;
    color: var(--ink-soft);
}

/* Services */

.service-group + .service-group {
    margin-top: 3rem;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service {
    padding: 1.1rem 1.25rem;
    border-left: 6px solid var(--service-color, var(--pasiak-red));
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: 1.1rem;
}

.service:nth-child(6n + 2) { --service-color: var(--pasiak-orange); }
.service:nth-child(6n + 3) { --service-color: var(--pasiak-green); }
.service:nth-child(6n + 4) { --service-color: var(--pasiak-blue); }
.service:nth-child(6n + 5) { --service-color: var(--pasiak-teal); }
.service:nth-child(6n + 6) { --service-color: var(--pasiak-violet); }

/* Price list */

.price-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .price-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.price-block {
    position: relative;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    padding-top: calc(clamp(1.25rem, 4vw, 2.25rem) + 6px);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.price-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--pasiak);
    background-size: var(--pasiak-size);
}

.price-block__lead {
    margin-top: -0.5rem;
    color: var(--ink-soft);
}

.price-block__note {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px dashed rgb(11 37 71 / 0.2);
}

.price-table tr:last-child {
    border-bottom: 0;
}

.price-table th,
.price-table td {
    padding: 0.85rem 0;
    vertical-align: baseline;
}

.price-table th {
    padding-right: 1rem;
    font-weight: 400;
    text-align: left;
}

.price-table td {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1.15;
    text-align: right;
    color: var(--navy-700);
}

.price-table--routes td {
    white-space: nowrap;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery__item {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy-900);
    box-shadow: var(--shadow-card);
}

.gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

/* Contact */

.contact {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 900px) {
    .contact {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

.contact-card {
    display: grid;
    gap: 0.75rem;
    margin-right: 12px;
    padding: clamp(1.5rem, 5vw, 2.25rem);
    border-radius: 16px;
    background: var(--yellow-400);
    color: var(--navy-950);
    text-decoration: none;
    box-shadow: 12px 12px 0 var(--navy-900);
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translate(-2px, -2px);
}

.contact-card__label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-card__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 10vw, 3.75rem);
    line-height: 1;
    white-space: nowrap;
}

.contact-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.contact__ranks .ranks {
    grid-template-columns: 1fr;
}

/* Footer */

.site-footer {
    background: var(--navy-950);
    color: rgb(255 255 255 / 0.8);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 2.5rem;
    padding-block: 3.5rem;
}

.site-footer__about p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.site-footer__title {
    margin-bottom: 0.9rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.14em;
    color: var(--yellow-400);
}

.site-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.site-footer__ranks,
.site-footer__nav {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
}

.site-footer__ranks strong {
    display: block;
    color: var(--white);
}

.site-footer__nav {
    gap: 0.35rem;
}

.site-footer__nav a {
    color: rgb(255 255 255 / 0.8);
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--yellow-400);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    font-size: 0.85rem;
    color: rgb(255 255 255 / 0.5);
}

.site-footer__credit {
    font-weight: 600;
    color: var(--yellow-400);
    text-decoration: none;
}

.site-footer__credit:hover {
    color: var(--yellow-300);
    text-decoration: underline;
}

/* Sticky call bar (mobile) */

.call-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(var(--call-bar-height) + env(safe-area-inset-bottom));
    }

    .call-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        min-height: var(--call-bar-height);
        padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
        background: var(--yellow-400);
        color: var(--navy-950);
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.3rem;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 -6px 20px rgb(6 20 40 / 0.25);
    }

    .call-bar .icon {
        font-size: 1.4rem;
    }

    .call-bar strong {
        font-weight: 800;
    }

    .call-bar__badge {
        padding: 0.15rem 0.45rem;
        border-radius: 6px;
        background: var(--pasiak-red);
        color: var(--white);
        font-weight: 800;
        font-size: 0.95rem;
    }

    .brand__name {
        font-size: 1.6rem;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .hero__actions .btn--call {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

.price-table__extra td {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink);
}
