/* Страницы автопарка (business-sedan, first-class-sedan, electric-sedan, premium-executive-van,
   first-class-mini-bus, luxury-bus-rental + DE). Дизайн "A · Классика" поверх старой разметки.
   Подключается последним на странице, после пофлитового CSS и inline <style> в DE-версиях. */

.car_individual_page,
.fcd-details,
.greyareafooterfleet {
    --fp-gold: #9A8866;
    --fp-bronze: #6b5d4a;
    --fp-ink: #1A1A1A;
    --fp-muted: #495057;
    --fp-soft: #6f6a61;
    --fp-line: #e8e3da;
    --fp-sand: #f4f1ec;
    --fp-paper: #fbfbfb;
}

/* ---------- заголовок секции ---------- */
.title-content-fleet .title-fleet {
    margin-bottom: 0;
    padding: 64px 0 0;
}
.title-content-fleet .title-fleet h2 {
    display: inline-block;
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    font-size: 2rem;
    font-weight: 300;
    text-wrap: balance;
}
.title-content-fleet .title-fleet h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 2px;
    margin-left: -32px;
    background: #9A8866;
}

.car_individual_page {
    padding: 0 15px 70px;
}
.car_individual_page .row.g-5 {
    padding-top: 40px;
    align-items: flex-start;
}

/* ---------- галерея ---------- */
.car_individual_page .fleet-slider1 .mySwiper5 {
    padding: 0;
    border-radius: 14px;
    background: #111;
}
.car_individual_page .mySwiper5 .swiper-slide {
    cursor: zoom-in;
}
.car_individual_page .mySwiper5 .swiper-slide img {
    aspect-ratio: 560 / 423;
    object-fit: cover;
}
.car_individual_page .mySwiper5 .swiper-button-prev,
.car_individual_page .mySwiper5 .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fp-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.car_individual_page .mySwiper5 .swiper-button-prev { left: 14px; }
.car_individual_page .mySwiper5 .swiper-button-next { right: 14px; }
.car_individual_page .mySwiper5 .swiper-button-prev::after,
.car_individual_page .mySwiper5 .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}
.car_individual_page .mySwiper5:hover .swiper-button-prev,
.car_individual_page .mySwiper5:hover .swiper-button-next,
.car_individual_page .mySwiper5 .swiper-button-prev:focus-visible,
.car_individual_page .mySwiper5 .swiper-button-next:focus-visible {
    opacity: 1;
}
.car_individual_page .mySwiper5 .swiper-button-prev:hover,
.car_individual_page .mySwiper5 .swiper-button-next:hover {
    background: var(--fp-ink);
    color: #fff;
}
.car_individual_page .mySwiper5 .swiper-button-disabled {
    opacity: 0 !important;
}
@media (hover: none) {
    .car_individual_page .mySwiper5 .swiper-button-prev,
    .car_individual_page .mySwiper5 .swiper-button-next {
        opacity: 1;
    }
}

/* счётчик и кнопка "Zoom" (добавляет js/fleet-lightbox.js) */
.fp-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 5;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #1A1A1A;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.fp-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 9px 14px 9px 11px;
    background: rgba(15, 17, 20, 0.72);
    color: #fff;
    font-size: 12.5px;
    line-height: 1;
    letter-spacing: 0.04em;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}
.fp-zoom:hover { background: #6b5d4a; }
.fp-zoom svg { width: 17px; height: 17px; flex: none; }

.car_individual_page .mySwiper4 {
    margin-top: 10px;
}
.car_individual_page .mySwiper4 .swiper-slide {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
}
.car_individual_page .mySwiper4 .swiper-slide:hover { opacity: 1; }
.car_individual_page .mySwiper4 .swiper-slide-thumb-active {
    border-color: #9A8866;
    opacity: 1;
}
.car_individual_page .mySwiper4 .swiper-slide img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.car_individual_page .image-copyright {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: #8a857c;
}
.car_individual_page .image-copyright bold {
    font-weight: 600;
    color: var(--fp-soft);
}

/* ---------- характеристики: таблица "метка / значение" ---------- */
.car_individual_page .content-fleet {
    display: grid;
    grid-template-columns: minmax(120px, auto) 1fr;
    padding-top: 0;
}
.car_individual_page .content-fleet > p {
    grid-column: 1 / -1;
    margin: 0 0 28px;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--fp-muted);
}
.car_individual_page .content-fleet > h4 {
    margin: 0;
    padding: 16px 28px 16px 0;
    border-bottom: 1px solid var(--fp-line);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fp-soft);
}
.car_individual_page .content-fleet > ul {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--fp-line);
}
.car_individual_page .content-fleet > p + h4,
.car_individual_page .content-fleet > p + h4 + ul {
    border-top: 1px solid var(--fp-line);
}
.car_individual_page .content-fleet > ul li {
    margin: 0;
    line-height: 1.45;
}
.car_individual_page .content-fleet > ul:not(:last-of-type) li {
    font-weight: 600;
}
.car_individual_page .content-fleet > ul:not(:last-of-type) li::before {
    display: none;
}
.car_individual_page .content-fleet > ul:last-of-type {
    display: grid;
    gap: 10px;
}
.car_individual_page .content-fleet > ul:last-of-type li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.car_individual_page .content-fleet > ul:last-of-type li::before {
    position: static;
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: 0.5em;
    border-radius: 50%;
    background: #9A8866;
    box-shadow: 0 0 0 4px rgba(154, 136, 102, 0.15);
}

/* ---------- CTA ---------- */
.car_individual_page .bottom-requist-fleet {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 30px 0 0;
}
.car_individual_page .bottom-requist-fleet .cta-lpfleet {
    max-width: none;
    height: 54px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    background: #1A1A1A;
    color: #fff;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    transition: background 0.2s;
}
.car_individual_page .bottom-requist-fleet .cta-lpfleet:hover,
.car_individual_page .bottom-requist-fleet .cta-lpfleet:focus-visible {
    background: #6b5d4a;
    color: #fff;
}
.car_individual_page .bottom-requist-fleet p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fp-muted);
}
.car_individual_page .bottom-requist-fleet .phonebuttonfleet {
    font-weight: 700;
    color: var(--fp-ink);
    white-space: nowrap;
}
.car_individual_page .bottom-requist-fleet .phonebuttonfleet:hover {
    color: #6b5d4a;
}

/* ---------- "When to choose" + FAQ (common/fleet-card-details.php, EN и DE) ---------- */
.fcd-details {
    padding: 70px 0;
    background: #fbfbfb;
}
.fcd-details .fcd-title {
    margin: 0 0 20px;
    font-size: 1.65rem;
    font-weight: 600;
    color: #1A1A1A;
    text-wrap: balance;
}
.fcd-details .fcd-faq-title {
    margin-top: 48px;
}
.fcd-details .fcd-para {
    max-width: none;
    margin: 0 0 18px;
    font-size: 1.02rem;
    line-height: 1.78;
    color: #495057;
}
.fcd-details .fcd-para a,
.fcd-details .fcd-faq-answer a {
    color: #6b5d4a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fcd-details .fcd-faq {
    display: grid;
    gap: 10px;
    max-width: none;
}
.fcd-details .fcd-faq-item {
    margin: 0;
    background: #fff;
    border: 1px solid #e8e3da;
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fcd-details .fcd-faq-item[open] {
    border-color: #d6ccba;
    box-shadow: 0 6px 22px rgba(107, 93, 74, 0.08);
}
.fcd-details .fcd-faq-item summary {
    padding: 18px 58px 18px 22px;
    font-size: 1rem;
}
.fcd-details .fcd-faq-item summary::after,
.fcd-details .fcd-faq-item[open] summary::after {
    content: '';
    right: 20px;
    width: 22px;
    height: 22px;
    border: 1px solid #cfc5b3;
    border-radius: 50%;
    background:
        linear-gradient(#6b5d4a, #6b5d4a) center / 10px 1.5px no-repeat,
        linear-gradient(#6b5d4a, #6b5d4a) center / 1.5px 10px no-repeat;
    transition: transform 0.25s;
}
.fcd-details .fcd-faq-item[open] summary::after {
    background: linear-gradient(#6b5d4a, #6b5d4a) center / 10px 1.5px no-repeat;
    transform: translateY(-50%) rotate(180deg);
}
.fcd-details .fcd-faq-answer {
    padding: 0 22px 20px;
}
.fcd-details .fcd-faq-answer p {
    font-size: 0.97rem;
    line-height: 1.72;
    color: #555;
}

/* ---------- "Other available options" ---------- */
.greyareafooterfleet {
    padding: 80px 20px 90px;
    background: #fff;
}
.greyareafooterfleet h3 {
    margin: 0 0 56px;
    font-size: 29px;
    font-weight: 300;
}
.greyareafooterfleet .row {
    row-gap: 44px;
}
.greyareafooterfleet .card-work {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 0 0 1px #e8e3da, 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}
.greyareafooterfleet .card-work:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px #d6ccba, 0 16px 36px rgba(0, 0, 0, 0.09);
}
.greyareafooterfleet .card-work .img-title {
    border-radius: 16px 16px 0 0;
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
    background: #f4f1ec;
}
.greyareafooterfleet .info-badge {
    width: auto;
    max-width: none;
    padding: 0 8px;
}
.greyareafooterfleet .info-badge::after {
    border-radius: 999px;
    transform: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.greyareafooterfleet .info-badge ul {
    gap: 6px;
    padding: 7px 8px;
}
.greyareafooterfleet .info-badge ul li {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.greyareafooterfleet .info-badge ul li i { margin-right: 6px; }
.greyareafooterfleet .info-badge ul li i img {
    width: 16px;
    height: 16px;
}
.greyareafooterfleet .info-badge ul li:first-child::after { opacity: 0.6; }
.greyareafooterfleet .card-work .card-body {
    flex: 1;
    padding: 0 18px 22px;
}
.greyareafooterfleet .card-work .title_card {
    min-height: 0;
    padding: 20px 0 0;
}
.greyareafooterfleet .card-work .title_card h4 {
    margin-bottom: 4px;
    font-size: 19px;
    font-weight: 400;
}
.greyareafooterfleet .card-work .title_card p {
    font-size: 13.5px;
    line-height: 1.45;
    color: #6f6a61;
}
.greyareafooterfleet .card-work .card-body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0;
    margin: 14px 0 0;
}
.greyareafooterfleet .card-work .card-body ul li {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f4f1ec;
    color: #6b5d4a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}
.greyareafooterfleet .card-work .card-body ul li::before { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 767px) {
    .title-content-fleet .title-fleet { padding-top: 44px; }
    .title-content-fleet .title-fleet h2 { font-size: 1.5rem; }
    .car_individual_page .row.g-5 { padding-top: 24px; }
    .car_individual_page .content-fleet { margin-top: 12px; }
    .fp-zoom { padding: 10px; }
    .fp-zoom span { display: none; }
    .fcd-details { padding: 48px 0; }
    .fcd-details .fcd-title { font-size: 1.35rem; }
    .greyareafooterfleet { padding: 56px 16px 64px; }
    .greyareafooterfleet h3 { margin-bottom: 44px; font-size: 24px; }
}
@media (max-width: 420px) {
    .car_individual_page .content-fleet { grid-template-columns: 1fr; }
    .car_individual_page .content-fleet > h4 { padding: 14px 0 4px; border-bottom: 0; }
    .car_individual_page .content-fleet > p + h4 + ul { border-top: 0; }
    .car_individual_page .content-fleet > ul { padding-top: 0; }
}

/* ============================ ЛАЙТБОКС "Кинотеатр" ============================ */
.fp-lb {
    position: fixed;
    inset: 0;
    z-index: 2147483001; /* выше cookie-баннера (2147483000) */
    display: flex;
    flex-direction: column;
    background: #0a0b0d;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.fp-lb.is-open { opacity: 1; visibility: visible; }
.fp-lb button {
    font: inherit;
    cursor: pointer;
}
.fp-lb-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px;
}
.fp-lb-cnt {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #bdb5a6;
    font-variant-numeric: tabular-nums;
}
.fp-lb-cnt b { color: #fff; font-weight: 600; }
.fp-lb-ttl {
    font-family: Alexandria;
    font-weight: 300;
    font-size: 1.05rem;
    color: #d8cfbf;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fp-lb-ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s;
}
@media (hover: hover) { .fp-lb-ic:hover { background: #9A8866; } }
.fp-lb-ic svg { width: 20px; height: 20px; }
.fp-lb-ic:focus-visible,
.fp-lb-strip button:focus-visible,
.fp-zoom:focus-visible {
    outline: 2px solid #FFD076;
    outline-offset: 2px;
}
.fp-lb-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 84px;
    touch-action: pan-y;
}
.fp-lb-stage img {
    width: min(100%, 960px);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.2s;
}
.fp-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.fp-lb-prev { left: 18px; }
.fp-lb-next { right: 18px; }
.fp-lb-strip {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow-x: auto;
}
.fp-lb-strip button {
    flex: none;
    width: 84px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    opacity: 0.45;
    transition: opacity 0.2s, border-color 0.2s;
}
.fp-lb-strip button:hover { opacity: 0.8; }
.fp-lb-strip button[aria-current="true"] {
    opacity: 1;
    border-color: #FFD076;
}
.fp-lb-strip img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
html.fp-lb-lock { overflow: hidden; }

@media (max-width: 640px) {
    .fp-lb-stage { padding: 0 8px; }
    .fp-lb-ttl { display: none; }
    /* на телефоне стрелки поверх краёв фото */
    .fp-lb-nav {
        width: 40px;
        height: 40px;
        background: rgba(10, 11, 13, 0.6);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
    .fp-lb-nav svg { width: 18px; height: 18px; }
    .fp-lb-prev { left: 14px; }
    .fp-lb-next { right: 14px; }
    .fp-lb-strip { justify-content: flex-start; }
    .fp-lb-strip button { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-lb, .fp-lb-stage img, .greyareafooterfleet .card-work, .fp-zoom { transition: none; }
}
