/* CarPool — лендинг совместных поездок, зелёная палитра админки */

:root {
    --cp-green: #86E837;
    --cp-green-dark: #5aad1f;
    --cp-green-soft: #e8f9d4;
    --cp-orange: #FF8C00;
    --cp-black: #141a12;
    --cp-text: #141a12;
    --cp-muted: #5c6b52;
    --cp-border: #e5ebe0;
    --cp-surface: #ffffff;
    --cp-radius: 20px;
    --cp-radius-lg: 28px;
    --cp-radius-xl: 36px;
    --cp-shadow: 0 8px 32px rgba(20, 26, 18, 0.08);
    --cp-shadow-lg: 0 24px 64px rgba(20, 26, 18, 0.12);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.cp-landing {
    --cp-inset: 16px;
    --cp-card-pad: 16px;
    --cp-container-max: 1240px;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--cp-text);
    background: #eef2e8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Один горизонтальный inset у шапки, героя и всех панелей */
body.cp-landing .container {
    width: min(var(--cp-container-max), calc(100% - (var(--cp-inset) * 2)));
    max-width: var(--cp-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
}

body.cp-landing .row {
    margin-left: 0;
    margin-right: 0;
}

body.cp-landing .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

body.cp-landing .cp-explore > .container,
body.cp-landing .cp-feature > .container,
body.cp-landing .cp-steps > .container,
body.cp-landing .cp-drive > .container,
body.cp-landing .cp-apps > .container,
body.cp-landing .cp-footer-card {
    padding-left: var(--cp-card-pad);
    padding-right: var(--cp-card-pad);
}

.cp-landing-page {
    padding-bottom: 8px;
}

/* Единая ширина панелей как у блока «Что можно с CarPool» */
.cp-panel {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-xl);
    box-shadow: var(--cp-shadow);
}

.cp-section-gap {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .cp-section-gap {
        margin-top: 28px;
        margin-bottom: 28px;
    }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ——— Кнопки ——— */
.cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.cp-btn-primary {
    background: var(--cp-green);
    color: var(--cp-black) !important;
    border-color: var(--cp-green);
}

.cp-btn-primary:hover {
    background: var(--cp-green-dark);
    border-color: var(--cp-green-dark);
    box-shadow: 0 8px 24px rgba(134, 232, 55, 0.35);
}

.cp-btn-outline {
    background: transparent;
    color: var(--cp-black) !important;
    border-color: var(--cp-black);
}

.cp-btn-outline:hover {
    background: var(--cp-black);
    color: #fff !important;
}

.cp-btn-sm { padding: 10px 20px; font-size: 14px; }
.cp-btn-block { width: 100%; }

/* ——— Header ——— */
.cp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cp-border);
}

.header-right {
    min-height: 44px;
}

.cp-header-row { min-height: 68px; }

.site-logo a { display: inline-flex; align-items: center; }

.site-logo img {
    max-height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.cp-nav {
    align-items: center;
    gap: 28px;
}

.cp-nav a:not(.cp-btn) {
    font-weight: 500;
    font-size: 15px;
    color: var(--cp-text);
    transition: color 0.15s;
}

.cp-nav a:not(.cp-btn):hover { color: var(--cp-green-dark); }

/* Мобильное меню */
.cp-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.cp-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--cp-black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.cp-header.is-menu-open .cp-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.cp-header.is-menu-open .cp-menu-toggle span:nth-child(2) { opacity: 0; }
.cp-header.is-menu-open .cp-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cp-nav-mobile {
    border-top: 1px solid var(--cp-border);
    background: #fff;
    padding: 12px var(--cp-inset) 20px;
}

.cp-nav-mobile-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-nav-mobile-inner a:not(.cp-btn) {
    display: block;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--cp-text);
    border-radius: 12px;
}

.cp-nav-mobile-inner a:not(.cp-btn):hover {
    background: var(--cp-green-soft);
    color: var(--cp-green-dark);
}

.cp-nav-mobile-inner .cp-btn {
    margin-top: 12px;
}

/* ——— Hero ——— */
.cp-hero {
    padding: 18px 0 8px;
    background: #f7f8f4;
}

.cp-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
}

.cp-hero-copy { order: 1; }
.cp-hero-visual { order: 2; }

.cp-media-row {
    row-gap: 12px;
}

.cp-hero-title {
    margin: 0 0 8px;
    font-size: clamp(2rem, 3.1vw, 2.85rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--cp-black);
}

.cp-hero-sub {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--cp-muted);
    max-width: 38ch;
}

.cp-booking-card {
    background: var(--cp-surface);
    border: 1px solid #d5e3c8;
    border-radius: 22px;
    padding: 12px 14px 12px;
    box-shadow: 0 16px 36px rgba(20, 26, 18, 0.08);
    max-width: 420px;
    width: 100%;
}

.cp-booking-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding: 4px;
    background: #f4f6f0;
    border-radius: 999px;
}

.cp-hero-kicker {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--cp-green-soft);
    color: var(--cp-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cp-booking-tabs button {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cp-muted);
    cursor: pointer;
}

.cp-booking-tabs button.active {
    background: var(--cp-surface);
    color: var(--cp-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cp-booking-save {
    margin: 8px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-green-dark);
}

.cp-booking-fields { margin-bottom: 10px; }

.cp-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    margin-bottom: 6px;
    background: #f7faf3;
    cursor: default;
}

.cp-field-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cp-dot-green { background: var(--cp-green); }
.cp-dot-dark { background: var(--cp-black); }

.cp-field input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    font-family: inherit;
    color: var(--cp-text);
    outline: none;
    cursor: default;
}

.cp-field input::placeholder { color: #9aa894; }

.cp-booking-hint {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--cp-muted);
    text-align: center;
}

.cp-hero-visual {
    min-width: 0;
    container-type: inline-size;
}

.cp-hero-phones {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.cp-hero-phones::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 8%;
    bottom: 2%;
    background: radial-gradient(ellipse at 50% 42%, rgba(134, 232, 55, 0.42), rgba(232, 249, 212, 0.15) 58%, transparent 74%);
    z-index: 0;
    pointer-events: none;
}

.cp-hero-phone {
    position: relative;
    z-index: 1;
    width: auto;
    height: min(640px, calc(100svh - 96px), calc((100cqw - 16px) * 1.02));
    max-width: calc(50% - 8px);
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(20, 26, 18, 0.16));
}

.cp-hero-phone--driver {
    height: min(588px, calc((100svh - 96px) * 0.92), calc((100cqw - 16px) * 0.94));
}

/* ——— SVG icons ——— */
.cp-icon {
    width: 28px;
    height: 28px;
    stroke: var(--cp-green-dark);
    fill: none;
    flex-shrink: 0;
}

.cp-service-icon .cp-icon {
    width: 32px;
    height: 32px;
    stroke: var(--cp-green-dark);
}

.cp-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--cp-green);
    box-shadow: 0 8px 24px rgba(134, 232, 55, 0.45);
}

.cp-step-icon .cp-icon {
    width: 32px;
    height: 32px;
    stroke: var(--cp-black);
    stroke-width: 2.2;
}

.cp-step-num { display: none; }

/* ——— Store badges (official PNG) ——— */
.cp-store-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cp-store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    transition: transform 0.2s, opacity 0.2s;
    line-height: 0;
}

.cp-store-link:hover {
    transform: translateY(-3px);
    opacity: 0.92;
}

/* Google — база */
.cp-store-badge-img--google {
    height: 42px;
}

.cp-store-badge-img--appstore {
    height: 42px;
}

.cp-store-badge-img--rustore {
    height: 53px;
}

.cp-store-badge-img {
    width: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

/* ——— Footer: чёрная панель со скруглением со всех сторон ——— */
.cp-footer {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 28px;
}

.cp-footer-outer {
    padding-left: 0;
    padding-right: 0;
}

.cp-footer-card {
    background: var(--cp-black);
    border: 1px solid rgba(134, 232, 55, 0.2);
    border-radius: var(--cp-radius-xl);
    padding: 32px var(--cp-card-pad) 28px;
    overflow: hidden;
    box-shadow: var(--cp-shadow-lg);
}

@media (min-width: 768px) {
    .cp-footer-card {
        padding: 40px var(--cp-card-pad) 32px;
        border-radius: var(--cp-radius-xl);
    }
}

.cp-footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.cp-footer-about {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
    margin: 0 0 16px;
}

.cp-footer-requisites {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.cp-footer-company {
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.cp-footer-heading {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cp-green);
}

.cp-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.cp-footer-links a:hover { color: var(--cp-green); }

.cp-footer-legal {
    margin: 24px 0 0;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--cp-radius-lg);
}

@media (min-width: 768px) {
    .cp-footer-legal {
        margin: 28px 0 0;
        padding: 24px 28px;
    }
}

.cp-legal-entity,
.cp-legal-address {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.cp-legal-entity strong { color: #fff; }

.cp-legal-address a {
    color: var(--cp-green);
    text-decoration: underline;
}

.cp-footer-bottom {
    margin-top: 24px;
    padding: 0;
    text-align: center;
}

.cp-yookassa-wrap {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cp-yookassa-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ——— CMS pages ——— */
.cp-cms-page {
    padding: 100px 0 80px;
    min-height: 60vh;
    background: #fafbf9;
}

.cp-cms-back {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cp-green-dark);
}

.cp-cms-article {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--cp-radius-lg);
    padding: 48px 56px;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
}

.cp-cms-title {
    margin: 0 0 28px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cp-cms-content {
    color: var(--cp-muted);
    line-height: 1.75;
    font-size: 16px;
}

.cp-cms-content h2 {
    color: var(--cp-text);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.cp-cms-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.cp-cms-content td,
.cp-cms-content th {
    padding: 10px 14px;
    border: 1px solid var(--cp-border);
}

/* ——— Mobile ——— */
@media (max-width: 767px) {
    .cp-hero-title {
        font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    }
    .cp-cms-article { padding: 28px 18px; }
    .cp-store-badge { min-width: 0; padding: 10px 16px; }
    .cp-service-card { padding: 24px 20px; }
}

/* ——— Explore services ——— */
.cp-explore {
    padding: 0;
    background: transparent;
}

.cp-explore > .container {
    background: #fafbf9;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-xl);
    padding-top: 64px;
    padding-bottom: 64px;
    box-shadow: var(--cp-shadow);
}

@media (min-width: 768px) {
    .cp-explore > .container {
        padding-top: 88px;
        padding-bottom: 88px;
    }
}

.cp-service-grid {
    row-gap: 28px;
}

.cp-section-heading {
    margin: 0 0 28px;
    font-size: clamp(1.6rem, 2.6vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--cp-black);
}

.cp-section-heading-light {
    color: #fff;
}

.cp-steps .cp-section-heading-light + .row,
.cp-steps .cp-section-heading {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.cp-service-card {
    display: block;
    height: 100%;
    padding: 36px 32px;
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-xl);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow-lg);
    border-color: var(--cp-green);
}

.cp-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--cp-green-soft);
}

.cp-service-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cp-black);
}

.cp-service-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--cp-muted);
}

/* ——— Feature block ——— */
.cp-feature {
    padding: 0;
    background: transparent;
}

.cp-feature > .container {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-xl);
    padding-top: 56px;
    padding-bottom: 56px;
    box-shadow: var(--cp-shadow);
}

.cp-feature .container > .row {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

@media (min-width: 768px) {
    .cp-feature > .container {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

.cp-feature-img {
    display: block;
    width: auto;
    max-width: min(260px, 100%);
    max-height: min(420px, 58vh);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(20, 26, 18, 0.14));
}

.cp-feature-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cp-feature-text {
    margin: 0 0 24px;
    color: var(--cp-muted);
    font-size: 17px;
    line-height: 1.65;
}

.cp-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--cp-text);
}

.cp-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cp-green);
}

/* ——— Steps (тёмная панель, скругление со всех сторон) ——— */
.cp-steps {
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.cp-steps::before { display: none; }

.cp-steps > .container {
    position: relative;
    border-radius: var(--cp-radius-xl);
    padding-top: 64px;
    padding-bottom: 64px;
    background: linear-gradient(160deg, #0f140e 0%, #1a2818 50%, #243820 100%);
    overflow: hidden;
    box-shadow: var(--cp-shadow-lg);
}

.cp-steps > .container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(134, 232, 55, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .cp-steps > .container {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}

.cp-steps > .container > * {
    position: relative;
    z-index: 1;
}

.cp-step-card {
    height: 100%;
    padding: 40px 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(134, 232, 55, 0.35);
    border-radius: var(--cp-radius-xl);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cp-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--cp-green);
    box-shadow: 0 16px 48px rgba(134, 232, 55, 0.2);
}

.cp-step-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.cp-step-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

/* ——— Drive section ——— */
.cp-drive {
    padding: 0;
    background: transparent;
}

.cp-drive > .container {
    background: var(--cp-green-soft);
    border: 1px solid rgba(134, 232, 55, 0.28);
    border-radius: var(--cp-radius-xl);
    padding-top: 56px;
    padding-bottom: 56px;
    box-shadow: var(--cp-shadow);
}

.cp-drive .container > .row {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

@media (min-width: 768px) {
    .cp-drive > .container {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

.cp-drive-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cp-drive-text {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--cp-muted);
    max-width: 440px;
}

.cp-drive-img {
    display: block;
    width: auto;
    max-width: min(260px, 70%);
    max-height: 300px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(20, 26, 18, 0.14));
}

.cp-drive-row {
    align-items: center;
    row-gap: 12px;
}

/* ——— Apps download ——— */
.cp-apps {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
}

.cp-apps > .container {
    background: linear-gradient(180deg, #fafbf9 0%, #f4f9ee 100%);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-xl);
    padding-top: 64px;
    padding-bottom: 64px;
    box-shadow: var(--cp-shadow);
}

@media (min-width: 768px) {
    .cp-apps > .container {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.cp-apps-sub {
    margin: -8px 0 20px;
    color: var(--cp-muted);
    font-size: 16px;
}

.cp-app-shots {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin: 0 auto 28px;
    max-width: 760px;
}

.cp-app-shots img {
    width: auto;
    max-width: min(220px, 44%);
    max-height: 360px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(20, 26, 18, 0.12));
}

/* ——— Footer logo ——— */
.ft-logo img {
    max-height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .cp-nav {
        display: inline-flex !important;
        align-items: center;
        gap: 28px;
    }
    .cp-menu-toggle { display: none !important; }
    .cp-nav-mobile { display: none !important; }
}

/* Tablet: keep photos on the right, no full-viewport hero lock */
@media (min-width: 768px) and (max-width: 991px) {
    .cp-hero {
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 18px 0 22px;
        display: block;
        overflow: visible;
    }
    .cp-hero-grid {
        grid-template-columns: minmax(260px, 1fr) minmax(0, 1.05fr);
        gap: 20px;
        align-items: center;
    }
    .cp-hero-copy { order: 1; }
    .cp-hero-visual { order: 2; max-height: min(420px, 52vh); }
    .cp-hero-phone,
    .cp-hero-phone--driver {
        max-height: min(400px, 50vh);
        height: auto;
    }
    .cp-feature-img {
        max-height: 340px;
        max-width: min(240px, 80%);
    }
    .cp-drive-img {
        max-height: 320px;
        max-width: min(240px, 75%);
    }
    .cp-app-shots img {
        max-height: 300px;
        max-width: min(200px, 42%);
    }
}

/* Mobile: photos on top */
@media (max-width: 767px) {
    .cp-hero {
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 12px 0 14px;
        display: block;
        overflow: visible;
    }
    .cp-hero > .container {
        width: min(var(--cp-container-max), calc(100% - (var(--cp-inset) * 2)));
        max-width: var(--cp-container-max);
        margin-left: auto;
        margin-right: auto;
    }
    .cp-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        gap: 14px;
    }
    .cp-hero-visual { order: 1; }
    .cp-hero-copy { order: 2; }
    .cp-hero-sub { max-width: none; margin-bottom: 10px; }
    .cp-booking-card { max-width: none; }
    .cp-hero-visual {
        min-height: 0;
        display: flex;
        justify-content: center;
        max-height: min(280px, 38vh);
    }
    .cp-hero-phones {
        width: 100%;
        height: 100%;
        margin: 0;
        justify-content: center;
        align-items: flex-end;
        gap: 10px;
    }
    .cp-hero-phone,
    .cp-hero-phone--driver {
        height: auto;
        width: auto;
        max-width: calc(50% - 6px);
        max-height: min(260px, 36vh);
        object-fit: contain;
    }
    .cp-feature-img {
        max-height: 280px;
        max-width: min(220px, 70%);
    }
    .cp-drive-img {
        max-height: 260px;
        max-width: min(220px, 70%);
    }
    .cp-footer-requisites {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767px) {
    .cp-nav { display: none !important; }
    .cp-menu-toggle { display: flex !important; }
    .cp-hero-title { margin-bottom: 6px; }
    .cp-hero-sub { margin: 0 0 8px; font-size: 15px; line-height: 1.35; }
    .cp-booking-card { margin: 0; padding: 10px 12px 10px; }
    .cp-booking-tabs { margin-bottom: 8px; }
    .cp-field { padding: 8px 12px; margin-bottom: 5px; }
    .cp-hero .cp-btn-block { padding: 12px 16px; }
    .cp-booking-hint { margin-top: 6px; }
    .cp-booking-save { margin-top: 4px; }
    .cp-section-gap { margin-top: 12px; margin-bottom: 12px; }
    .cp-footer-card {
        padding: 22px var(--cp-card-pad) 18px;
    }
    .cp-service-card,
    .cp-step-card {
        padding: 18px 14px;
    }
    .cp-drive > .container,
    .cp-feature > .container,
    .cp-apps > .container {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .cp-drive-row { row-gap: 8px; }
    .cp-drive-title { margin-bottom: 10px; font-size: 1.55rem; }
    .cp-drive-text { margin-bottom: 14px; font-size: 15px; }
    .cp-app-shots {
        gap: 10px;
        margin-bottom: 18px;
        flex-wrap: nowrap;
    }
    .cp-app-shots img {
        max-height: 240px;
        max-width: 46%;
    }
    .cp-store-btns {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .cp-store-badge-img {
        max-height: 44px;
        width: auto;
    }
}

@media (min-width: 768px) {
    body.cp-landing {
        --cp-inset: 32px;
        --cp-card-pad: 32px;
    }
    .cp-explore .cp-service-grid,
    .cp-steps > .container > .row,
    .cp-feature > .container > .row {
        column-gap: 28px;
    }
    .cp-explore .cp-service-grid > [class*="col-"],
    .cp-steps > .container > .row > [class*="col-"],
    .cp-feature > .container > .row > [class*="col-"] {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
    .cp-app-shots img { max-height: 300px; }
}

@media (min-width: 768px) {
    .cp-drive > .container > .row {
        column-gap: 28px;
    }
    .cp-drive > .container > .row > [class*="col-"] {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
}

@media (min-width: 992px) {
    .cp-footer-top .row {
        column-gap: 28px;
    }
    .cp-footer-top .row > [class*="col-"] {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
    .cp-app-shots img { max-height: 360px; }
}
