/* ==========================================================
   TRANSOIL – Oferta flotowa / PartnerCard
   Sekcja bezpośrednio pod breadcrumbem
   ========================================================== */

.fleet-page {
    --fleet-red: #e20b18;
    --fleet-red-soft: #fff2f2;
    --fleet-text: #151515;
    --fleet-muted: #4f4f4f;
    --fleet-line: #e7e7e7;
    --fleet-panel: #fafafa;
    color: var(--fleet-text);
    background: #fff;
    font-family: "Poppins", Arial, sans-serif;
}

.fleet-page * { box-sizing: border-box; }
.fleet-page img { max-width: 100%; }

.fleet-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.fleet-top {
    padding: 58px 0 44px;
    border-bottom: 1px solid var(--fleet-line);
}

.fleet-top__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    gap: 70px;
    align-items: center;
}

.fleet-main-title {
    margin: 0 0 27px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(28px, 2.2vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.fleet-main-title span { color: var(--fleet-red); }

.fleet-main-title::after,
.fleet-section-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 16px;
    background: var(--fleet-red);
}

.fleet-top__copy p {
    max-width: 780px;
    margin: 0;
    color: #252525;
    font-size: 16px;
    line-height: 1.72;
}

.fleet-card-visual {
    display: flex;
    justify-content: flex-end;
}

.fleet-card-visual img {
    width: min(100%, 430px);
    height: auto;
    display: block;
}

.fleet-section {
    padding: 38px 0 42px;
}

.fleet-section--panel {
    background: #fbfbfb;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.fleet-section-title {
    margin: 0 0 34px;
    text-align: center;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
}

.fleet-section-title::after { margin: 12px auto 0; }

/* 3 formy współpracy */
.fleet-forms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.fleet-form-card {
    position: relative;
    min-height: 320px;
    padding: 35px 34px 32px;
    background: #fff;
    border: 1px solid #dfe2e6;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,.025);
}

.fleet-form-card__number {
    margin-bottom: 34px;
    color: var(--fleet-red);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}

.fleet-form-card__icon {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--fleet-red-soft);
}

.fleet-form-card__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.fleet-form-card h3 {
    margin: 0 0 9px;
    color: #181818;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.fleet-form-card__accent {
    min-height: 22px;
    margin: -2px 0 17px;
    color: var(--fleet-red);
    font-size: 14px;
    font-weight: 600;
}

.fleet-form-card p:last-child {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.72;
}

/* Korzyści */
.fleet-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fleet-benefit {
    position: relative;
    padding: 0 28px;
    text-align: center;
}

.fleet-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 1px;
    height: calc(100% - 36px);
    background: #dddddd;
}

.fleet-benefit__icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 21px;
    display: grid;
    place-items: center;
    border: 2px solid var(--fleet-red);
    border-radius: 50%;
}

.fleet-benefit__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.fleet-benefit h3 {
    min-height: 50px;
    margin: 0 0 16px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
}

.fleet-benefit p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.65;
}

/* Portal */
.fleet-portal {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fleet-portal__item {
    position: relative;
    min-height: 102px;
    padding: 5px 42px 5px 44px;
    color: #242424;
    font-size: 15px;
    line-height: 1.7;
}

.fleet-portal__item:not(:last-child) { border-right: 1px solid #dedede; }

.fleet-portal__item::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fleet-red);
}

/* Kontakt */
.fleet-contact { text-align: center; }

.fleet-contact__lead {
    max-width: 670px;
    margin: -14px auto 23px;
    color: #333;
    font-size: 16px;
    line-height: 1.65;
}

.fleet-contact__items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
}

.fleet-contact__divider { width: 1px; height: 48px; background: #cfcfcf; }

.fleet-contact__item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #171717;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
}

.fleet-contact__item:hover { color: var(--fleet-red); }

.fleet-contact__item img { width: 52px; height: 52px; flex: 0 0 52px; }

/* Dokumenty */
.fleet-documents { padding-bottom: 58px; }

.fleet-documents-box {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe2e6;
    border-radius: 8px;
}

.fleet-document-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 170px 145px 105px 42px;
    align-items: center;
    gap: 22px;
    min-height: 62px;
    padding: 0 24px;
    border-bottom: 1px solid #e5e5e5;
    color: #222;
    font-size: 14px;
}

.fleet-document-row:last-child { border-bottom: 0; }

.fleet-document-name {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    font-weight: 500;
}

.fleet-document-name img { width: 26px; height: 26px; flex: 0 0 26px; }
.fleet-document-meta { color: #333; }

.fleet-document-download {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    transition: background-color .2s ease;
}

.fleet-document-download:hover { background: var(--fleet-red-soft); }
.fleet-document-download img { width: 23px; height: 23px; }

@media (max-width: 1199px) {
    .fleet-top__grid { gap: 38px; }
    .fleet-forms { gap: 22px; }
    .fleet-form-card { padding: 30px 26px; }
    .fleet-benefit { padding: 0 17px; }
    .fleet-document-row { grid-template-columns: minmax(260px,1fr) 145px 130px 90px 36px; gap: 14px; }
}

@media (max-width: 991px) {
    .fleet-top { padding: 46px 0 38px; }
    .fleet-top__grid { grid-template-columns: 1fr; }
    .fleet-card-visual { justify-content: center; }
    .fleet-card-visual img { width: min(100%, 480px); }
    .fleet-forms { grid-template-columns: 1fr; }
    .fleet-form-card { min-height: 0; }
    .fleet-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 0; }
    .fleet-benefit:nth-child(2)::after,
    .fleet-benefit:nth-child(4)::after { display: none; }
    .fleet-benefit:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    .fleet-portal { grid-template-columns: 1fr; }
    .fleet-portal__item { min-height: auto; padding: 14px 18px 14px 44px; }
    .fleet-portal__item:not(:last-child) { border-right: 0; border-bottom: 1px solid #dedede; }
    .fleet-document-row { grid-template-columns: minmax(0,1fr) 36px; padding: 12px 18px; }
    .fleet-document-row .fleet-document-meta { display: none; }
}

@media (max-width: 767px) {
    .fleet-container { padding: 0 18px; }
    .fleet-section { padding: 31px 0 34px; }
    .fleet-section-title { margin-bottom: 28px; font-size: 24px; }
    .fleet-main-title { font-size: 28px; }
    .fleet-top__copy p { font-size: 15px; }
    .fleet-benefits { grid-template-columns: 1fr; gap: 0; }
    .fleet-benefit { padding: 25px 12px; }
    .fleet-benefit:not(:last-child)::after { display: block; top: auto; bottom: 0; left: 14%; right: auto; width: 72%; height: 1px; }
    .fleet-benefit:nth-child(5) { grid-column: auto; max-width: none; }
    .fleet-benefit h3 { min-height: 0; }
    .fleet-contact__items { flex-direction: column; gap: 16px; }
    .fleet-contact__divider { width: 150px; height: 1px; }
    .fleet-contact__item { font-size: 19px; }
    .fleet-contact__item img { width: 46px; height: 46px; flex-basis: 46px; }
}

@media (max-width: 480px) {
    .fleet-form-card { padding: 26px 22px; }
    .fleet-form-card__number { font-size: 42px; }
    .fleet-form-card__icon { width: 72px; height: 72px; top: 22px; right: 22px; }
    .fleet-form-card__icon img { width: 40px; height: 40px; }
    .fleet-document-row { padding: 11px 12px; }
    .fleet-document-name { gap: 10px; font-size: 13px; }
}
