/* ==========================================================================
   Pjoter Logistics – style strony (na bazie Bootstrap 5)
   Kolor marki (--accent-color) jest wstrzykiwany z app/Config/Company.php
   ========================================================================== */

/* ---------- Czcionki (lokalnie, bez Google Fonts) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../vendor/fonts/poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../vendor/fonts/poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../vendor/fonts/poppins-SemiBold.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../vendor/fonts/poppins-Bold.woff") format("woff"); }
@font-face { font-family: "Roboto"; font-weight: 100 900; font-display: swap; src: url("../vendor/fonts/roboto-var.woff") format("woff"); }

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Poppins", sans-serif;

    --accent-color: #335175;
    --background-color: #ffffff;
    --default-color: #4a4f57;
    --heading-color: color-mix(in srgb, var(--accent-color) 38%, #07101c);
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --accent-light: color-mix(in srgb, var(--accent-color) 55%, #ffffff);
    --accent-soft: color-mix(in srgb, var(--accent-color) 10%, #ffffff);
    --dark-bg: color-mix(in srgb, var(--accent-color) 38%, #07101c);

    --nav-color: rgba(255, 255, 255, .78);
    --nav-hover-color: #ffffff;

    scroll-behavior: smooth;
}

.light-background { --background-color: #f4f6f9; --surface-color: #ffffff; }
.dark-background {
    --background-color: var(--dark-bg);
    --default-color: rgba(255, 255, 255, .82);
    --heading-color: #ffffff;
    --surface-color: color-mix(in srgb, var(--dark-bg) 85%, #ffffff);
}

body { color: var(--default-color); background-color: var(--background-color); font-family: var(--default-font); }
a { color: var(--accent-color); text-decoration: none; transition: .3s; }
a:hover { color: color-mix(in srgb, var(--accent-color), transparent 25%); }
h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-family: var(--heading-font); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: #000; color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */
.header {
    --background-color: transparent;
    color: #fff; background-color: var(--background-color);
    padding: 20px 0; transition: all .5s; z-index: 997;
}
.header .logo { line-height: 1; }
.header .logo img { max-height: 44px; margin-right: 8px; }
.header .logo .sitename, .footer .logo .sitename { font-size: 28px; margin: 0; font-weight: 700; color: #fff; font-family: var(--heading-font); letter-spacing: -.01em; }
.header .btn-getstarted {
    color: #fff; background: var(--accent-color); font-size: 14px; font-family: var(--nav-font); font-weight: 500;
    padding: 8px 25px; margin: 0 0 0 30px; border-radius: 50px; transition: .3s; display: inline-flex; gap: 8px; align-items: center;
}
.header .btn-getstarted:hover { background: color-mix(in srgb, var(--accent-color), #fff 15%); color: #fff; }
.scrolled .header { --background-color: var(--dark-bg); padding: 12px 0; box-shadow: 0 0 18px rgba(0, 0, 0, .25); }
@media (max-width: 1200px) {
    .header .logo { order: 1; }
    .header .btn-getstarted { order: 2; margin: 0 15px 0 0; padding: 6px 15px; }
    .header .navmenu { order: 3; }
    .header .logo .sitename { font-size: 22px; }
}
@media (max-width: 400px) { .header .btn-getstarted { display: none; } }

/* ---------- Nawigacja ---------- */
@media (min-width: 1200px) {
    .navmenu { padding: 0; }
    .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
    .navmenu li { position: relative; }
    .navmenu a { color: var(--nav-color); padding: 18px 15px; font-size: 16px; font-family: var(--nav-font); font-weight: 400; display: flex; align-items: center; white-space: nowrap; transition: .3s; }
    .navmenu li:last-child a { padding-right: 0; }
    .navmenu li:hover > a, .navmenu .active { color: var(--nav-hover-color); }
    .navmenu .active { font-weight: 500; }
    .mobile-nav-toggle { display: none; }
}
@media (max-width: 1199px) {
    .mobile-nav-toggle { color: #fff; font-size: 30px; line-height: 0; margin-right: 0; cursor: pointer; transition: color .3s; background: none; border: 0; padding: 4px; }
    .navmenu { padding: 0; z-index: 9997; }
    .navmenu ul { display: none; list-style: none; position: absolute; inset: 64px 20px 20px 20px; padding: 10px 0; margin: 0; border-radius: 8px; background-color: #fff; overflow-y: auto; transition: .3s; z-index: 9998; box-shadow: 0 0 30px rgba(0, 0, 0, .1); }
    .navmenu a { color: #212529; padding: 12px 20px; font-family: var(--nav-font); font-size: 17px; font-weight: 500; display: flex; align-items: center; transition: .3s; }
    .navmenu a:hover, .navmenu .active { color: var(--accent-color); }
    .mobile-nav-active { overflow: hidden; }
    .mobile-nav-active .mobile-nav-toggle { color: #fff; position: absolute; font-size: 32px; top: 15px; right: 15px; margin-right: 0; z-index: 9999; }
    .mobile-nav-active .navmenu { position: fixed; overflow: hidden; inset: 0; background: rgba(8, 14, 24, .85); transition: .3s; }
    .mobile-nav-active .navmenu > ul { display: block; }
}

/* ---------- Stopka ---------- */
.footer { color: var(--default-color); background-color: var(--background-color); font-size: 14px; position: relative; }
.footer .footer-top { padding-top: 60px; }
.footer .footer-about .logo { margin-bottom: 20px; }
.footer .footer-about p { font-size: 14px; }
.footer .social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); font-size: 16px; color: rgba(255, 255, 255, .75); margin-right: 10px; transition: .3s; }
.footer .social-links a:hover { color: #fff; border-color: #fff; background: var(--accent-color); }
.footer h4 { font-size: 16px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer .footer-links { margin-bottom: 30px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 10px 0; display: flex; align-items: center; }
.footer .footer-links ul li:first-child { padding-top: 0; }
.footer .footer-links ul a { color: rgba(255, 255, 255, .7); display: inline-block; line-height: 1; }
.footer .footer-links ul a:hover { color: #fff; }
.footer .footer-contact p { margin-bottom: 5px; }
.footer .footer-contact a { color: rgba(255, 255, 255, .85); }
.footer .copyright { padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer .copyright p { margin-bottom: 0; }
.footer .small-note { font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 6px !important; }

/* ---------- Przewiń do góry ---------- */
.scroll-top { position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: 15px; z-index: 99999; background-color: var(--accent-color); width: 44px; height: 44px; border-radius: 50px; transition: all .4s; }
.scroll-top i { font-size: 24px; color: #fff; line-height: 0; }
.scroll-top:hover { background-color: color-mix(in srgb, var(--accent-color), #fff 20%); }
.scroll-top.active { visibility: visible; opacity: 1; }

/* ---------- Nagłówek podstron ---------- */
.page-title {
    color: var(--default-color); background-color: var(--background-color);
    background-size: cover; background-position: center; padding: 160px 0 80px; text-align: center; position: relative;
}
.page-title::before { content: ""; background: color-mix(in srgb, var(--dark-bg), transparent 22%); position: absolute; inset: 0; }
.page-title h1 { font-size: 42px; font-weight: 700; margin-bottom: 10px; }
.page-title p { max-width: 700px; margin: 0 auto 10px; }
.page-title .breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; justify-content: center; padding: 0; margin: 0; font-size: 16px; font-weight: 400; }
.page-title .breadcrumbs ol a { color: rgba(255, 255, 255, .8); }
.page-title .breadcrumbs ol a:hover { color: #fff; }
.page-title .breadcrumbs ol li + li { padding-left: 10px; }
.page-title .breadcrumbs ol li + li::before { content: "/"; display: inline-block; padding-right: 10px; color: rgba(255, 255, 255, .5); }
.page-title .breadcrumbs .current { color: var(--accent-light); }

/* ---------- Sekcje ---------- */
section, .section { color: var(--default-color); background-color: var(--background-color); padding: 80px 0; scroll-margin-top: 80px; overflow: clip; }
@media (max-width: 1199px) { section, .section { scroll-margin-top: 60px; } }

.section-title { text-align: center; padding-bottom: 60px; position: relative; }
.section-title h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; padding-bottom: 20px; position: relative; }
.section-title h2::after { content: ""; position: absolute; display: block; width: 50px; height: 3px; background: var(--accent-color); left: 0; right: 0; bottom: 0; margin: auto; }
.section-title p { margin-bottom: 0; max-width: 720px; margin-inline: auto; }
.subtitle { display: inline-block; font-family: var(--heading-font); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-color); background: var(--accent-soft); padding: 6px 16px; border-radius: 50px; margin-bottom: 14px; }

.btn-accent { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-color); color: #fff; font-family: var(--heading-font); font-weight: 500; font-size: 15px; padding: 11px 28px; border-radius: 50px; border: 0; transition: .3s; }
.btn-accent:hover { color: #fff; background: color-mix(in srgb, var(--accent-color), #000 15%); }
.btn-sm-accent { padding: 7px 20px; font-size: 14px; margin-top: 12px; }
.btn-light-outline { display: inline-flex; align-items: center; gap: 8px; color: #fff; border: 2px solid rgba(255, 255, 255, .7); font-family: var(--heading-font); font-weight: 500; font-size: 15px; padding: 9px 26px; border-radius: 50px; }
.btn-light-outline:hover { color: var(--heading-color); background: #fff; border-color: #fff; }

/* ---------- Baner ---------- */
.hero { width: 100%; min-height: 100vh; position: relative; padding: 140px 0 80px; display: flex; align-items: center; }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, color-mix(in srgb, var(--dark-bg), transparent 8%) 0%, color-mix(in srgb, var(--dark-bg), transparent 30%) 50%, color-mix(in srgb, var(--dark-bg), transparent 65%) 100%); }
.hero .container { position: relative; z-index: 3; }
.hero h2 { margin: 0; font-size: 50px; font-weight: 700; line-height: 1.2; }
.hero h2 span { display: block; color: var(--accent-light); }
.hero p { color: rgba(255, 255, 255, .82); margin: 18px 0 30px; font-size: 19px; font-weight: 400; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.btn-primary-hero, .btn-outline-hero { font-family: var(--heading-font); font-weight: 500; font-size: 16px; letter-spacing: .5px; display: inline-block; padding: 13px 34px; border-radius: 4px; transition: .3s; }
.btn-primary-hero { background: var(--accent-color); color: #fff; border: 2px solid var(--accent-color); }
.btn-primary-hero:hover { background: color-mix(in srgb, var(--accent-color), #fff 15%); border-color: color-mix(in srgb, var(--accent-color), #fff 15%); color: #fff; }
.btn-outline-hero { color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.btn-outline-hero:hover { background: #fff; color: var(--heading-color); border-color: #fff; }
.hero .stats { margin-top: 40px; }
.hero .stats-item { padding: 26px 10px; background: color-mix(in srgb, #fff, transparent 90%); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; backdrop-filter: blur(4px); }
.hero .stats-item span { font-size: 30px; display: block; font-weight: 700; color: #fff; font-family: var(--heading-font); line-height: 1.1; }
.hero .stats-item p { padding: 0; margin: 6px 0 0; font-family: var(--heading-font); font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) { .hero h2 { font-size: 34px; } .hero p { font-size: 17px; } .btn-primary-hero, .btn-outline-hero { width: 100%; text-align: center; } }

/* ---------- Ładunki (featured services) ---------- */
.featured-services .service-item { position: relative; padding-top: 20px; }
.featured-services .service-item .icon { margin-right: 20px; }
.featured-services .service-item .icon i { color: var(--accent-color); font-size: 44px; line-height: 1; transition: .5s; display: inline-block; }
.featured-services .service-item .title { font-weight: 700; margin-bottom: 10px; font-size: 20px; transition: .3s; }
.featured-services .service-item .description { font-size: 15px; margin-bottom: 0; }
.featured-services .service-item:hover .title { color: var(--accent-color); }
.featured-services .service-item:hover .icon i { transform: scale(1.12); }

/* ---------- O nas ---------- */
.about .content h3 { font-size: 30px; font-weight: 700; margin-bottom: 18px; }
.about .content ul { list-style: none; padding: 0; margin-top: 26px; }
.about .content ul li { display: flex; align-items: flex-start; margin-top: 32px; }
.about .content ul i { flex-shrink: 0; font-size: 26px; color: var(--accent-color); margin-right: 20px; line-height: 0; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); }
.about .content ul h5 { font-size: 18px; font-weight: 700; }
.about .content ul p { font-size: 15px; margin: 0; }
.about img { box-shadow: 0 15px 40px rgba(0, 0, 0, .15); }

/* ---------- Bloki zdjęcie + tekst ---------- */
.features .features-item h3 { font-weight: 700; font-size: 28px; margin-bottom: 18px; }
.features .features-item ul { list-style: none; padding: 0; margin-bottom: 26px; }
.features .features-item ul li { padding-bottom: 12px; display: flex; align-items: flex-start; }
.features .features-item ul li:last-child { padding-bottom: 0; }
.features .features-item ul i { font-size: 20px; margin-right: 6px; color: var(--accent-color); line-height: 1.2; }
.features .features-item img { box-shadow: 0 15px 40px rgba(0, 0, 0, .12); }

/* ---------- Kafelki z ikoną ---------- */
.feature-box { background: var(--surface-color); padding: 34px 26px; border-radius: 10px; box-shadow: 0 0 25px rgba(0, 0, 0, .06); text-align: center; transition: .3s; border-bottom: 3px solid transparent; }
.feature-box .icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); transition: .3s; }
.feature-box .icon i { font-size: 30px; color: var(--accent-color); transition: .3s; }
.feature-box h4 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.feature-box p { font-size: 15px; margin: 0; }
.feature-box:hover { transform: translateY(-6px); border-bottom-color: var(--accent-color); }
.feature-box:hover .icon { background: var(--accent-color); }
.feature-box:hover .icon i { color: #fff; }

/* ---------- Call to action ---------- */
.call-to-action { padding: 90px 0; position: relative; clip-path: inset(0); }
.call-to-action > img { position: fixed; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.call-to-action::before { content: ""; background: color-mix(in srgb, var(--dark-bg), transparent 25%); position: absolute; inset: 0; z-index: 2; }
.call-to-action .container { position: relative; z-index: 3; }
.call-to-action h3 { font-size: 30px; font-weight: 700; color: #fff; }
.call-to-action p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 760px; margin: 12px auto 0; }
.call-to-action .cta-btn { font-family: var(--heading-font); font-weight: 500; font-size: 16px; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 40px; border-radius: 5px; transition: .5s; margin: 20px 6px 0; border: 2px solid #fff; color: #fff; }
.call-to-action .cta-btn:hover { background: var(--accent-color); border-color: var(--accent-color); }
.call-to-action .cta-btn--ghost { border-color: rgba(255, 255, 255, .45); }

/* ---------- Flota ---------- */
.fleet-filters { padding: 0; margin: 0 auto 30px; list-style: none; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }
.fleet-filters button { cursor: pointer; display: inline-block; padding: 8px 20px; font-size: 15px; font-weight: 500; line-height: 1; margin-bottom: 5px; border-radius: 50px; transition: all .3s; font-family: var(--heading-font); border: 0; background: transparent; color: var(--default-color); }
.fleet-filters button:hover { color: var(--accent-color); }
.fleet-filters button.filter-active { color: #fff; background-color: var(--accent-color); }

.card-item { background: var(--surface-color); border-radius: 8px; overflow: hidden; box-shadow: 0 0 25px rgba(0, 0, 0, .08); height: 100%; display: flex; flex-direction: column; position: relative; transition: .3s; }
.card-item:hover { transform: translateY(-6px); box-shadow: 0 10px 35px rgba(0, 0, 0, .15); }
.card-item .card-img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--accent-soft); }
.card-item .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; color: transparent; }
.card-item:hover .card-img img { transform: scale(1.08); }
.plate { position: absolute; top: 12px; left: 12px; z-index: 2; font: 700 12px/1 Arial, sans-serif; letter-spacing: .08em; color: #111; background: #fff linear-gradient(90deg, #1f47a8 0 11px, transparent 11px); padding: 6px 8px 6px 17px; border-radius: 3px; border: 1.5px solid #111; }
.plate--inline { position: static; display: inline-block; }
.fleet-no { position: absolute; top: 12px; right: 12px; z-index: 2; font: 600 12px/1 var(--heading-font); color: #fff; background: color-mix(in srgb, var(--dark-bg), transparent 20%); padding: 6px 9px; border-radius: 3px; }
.card-item .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.fleet-filters--secondary { margin-top: -14px; }
.fleet-filters--secondary button { font-size: 14px; padding: 6px 16px; }
.card-item .firm { display: block; font-size: 12px; color: #7a8491; margin-top: 2px; }
.card-item .brand { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-color); font-family: var(--heading-font); }
.card-item h3 { font-size: 19px; font-weight: 700; margin: 4px 0 8px; }
.card-item h3 a { color: var(--heading-color); }
.card-item h3 a:hover { color: var(--accent-color); }
.card-item p.model { font-size: 14px; color: #7a8491; margin: -4px 0 10px; flex-grow: 0; }
.card-item .meta { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; flex-grow: 1; }
.card-item .meta li { display: flex; gap: 8px; align-items: baseline; padding: 2px 0; }
.card-item .meta i { color: var(--accent-color); }
.card-item .more { font-family: var(--heading-font); font-size: 14px; font-weight: 500; color: var(--accent-color); }
.card-item .more i { transition: .3s; }
.card-item:hover .more i { margin-left: 4px; }

.truck-details .truck-photo { color: transparent; background: var(--accent-soft); box-shadow: 0 15px 40px rgba(0, 0, 0, .15); aspect-ratio: 3 / 2; object-fit: cover; }
.truck-info { background: var(--surface-color); padding: 30px; border-radius: 10px; box-shadow: 0 0 25px rgba(0, 0, 0, .08); }
.truck-info h3 { font-size: 22px; font-weight: 700; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid #e9ecef; }
.truck-info ul { list-style: none; padding: 0; margin: 0 0 24px; }
.truck-info li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f0f2f4; font-size: 15px; }
.truck-info li strong { color: var(--heading-color); font-weight: 500; font-family: var(--heading-font); }
.truck-info li span { text-align: right; }

/* ---------- Kariera ---------- */
.position-box { background: var(--surface-color); padding: 30px; border-radius: 10px; box-shadow: 0 0 25px rgba(0, 0, 0, .08); border-left: 4px solid var(--accent-color); }
.position-box h3 { font-size: 21px; font-weight: 700; }
.position-box h3 i { color: var(--accent-color); margin-right: 4px; }
.position-box p { margin: 0; font-size: 15px; }
.slots { flex-shrink: 0; text-align: center; background: var(--accent-soft); color: var(--accent-color); border-radius: 8px; padding: 8px 14px; font-size: 13px; font-family: var(--heading-font); }
.slots strong { display: block; font-size: 26px; line-height: 1.1; }
.slots--none { background: #f1f1f1; color: #888; }
.step-item { padding: 30px; background: var(--surface-color); border-radius: 10px; box-shadow: 0 0 25px rgba(0, 0, 0, .06); border-top: 3px solid var(--accent-color); }
.step-item .step-num { display: block; font-family: var(--heading-font); font-size: 44px; font-weight: 700; color: transparent; line-height: 1; margin-bottom: 6px; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-color), transparent 40%); }
.step-item h4 { font-size: 19px; font-weight: 700; margin: 8px 0 10px; }
.step-item p { font-size: 15px; margin: 0; position: relative; }

/* ---------- Kontakt / formularze ---------- */
.contact .info-item { background: var(--surface-color); padding: 30px 20px; box-shadow: 0 0 25px rgba(0, 0, 0, .08); border-radius: 10px; }
.contact .info-item i { font-size: 22px; color: var(--accent-color); width: 56px; height: 56px; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%); transition: .3s; }
.contact .info-item:hover i { background: var(--accent-color); color: #fff; border-style: solid; }
.contact .info-item h3 { font-size: 19px; font-weight: 700; margin: 12px 0 6px; }
.contact .info-item p { padding: 0; margin: 0; font-size: 15px; }
.php-email-form { background: var(--surface-color); padding: 30px; box-shadow: 0 0 25px rgba(0, 0, 0, .08); border-radius: 10px; }
.php-email-form .form-heading { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.php-email-form .form-label { font-weight: 500; font-size: 14px; color: var(--heading-color); font-family: var(--heading-font); }
.php-email-form .form-control, .php-email-form .form-select { font-size: 15px; padding: 11px 15px; border-radius: 6px; color: var(--default-color); border-color: #dde1e6; }
.php-email-form .form-control:focus, .php-email-form .form-select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent-color), transparent 80%); }
.php-email-form .form-control::placeholder { color: #99a1ab; }
.php-email-form .form-check-input:checked { background-color: var(--accent-color); border-color: var(--accent-color); }
.php-email-form .form-check-label { font-size: 14px; }
.php-email-form button[type=submit] { color: #fff; background: var(--accent-color); border: 0; padding: 12px 42px; transition: .3s; border-radius: 50px; font-family: var(--heading-font); font-weight: 500; font-size: 16px; }
.php-email-form button[type=submit]:hover { background: color-mix(in srgb, var(--accent-color), #000 15%); }
.invalid-feedback { font-size: 13px; }

.map-box { position: relative; min-height: 460px; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 0 25px rgba(0, 0, 0, .08); }
.map-box::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--dark-bg), transparent 18%); }
.map-box.is-loaded::before { display: none; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-overlay { position: relative; height: 100%; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: rgba(255, 255, 255, .85); }
.map-overlay > i { font-size: 44px; color: #fff; }
.map-overlay h3 { color: #fff; font-size: 26px; font-weight: 700; margin: 6px 0 12px; }
.map-overlay p { max-width: 460px; font-size: 15px; }
.map-overlay small { margin-top: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- Inne ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 32px; }
.notice { background: #fff7e6; border-left: 4px solid #e8a33d; padding: 14px 18px; border-radius: 6px; }
.notfound-code { font-family: var(--heading-font); font-size: 110px; font-weight: 700; line-height: 1; color: var(--accent-soft); -webkit-text-stroke: 2px var(--accent-color); margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Kariera: wybór firmy, DLC ---------- */
.firm-box { background: var(--surface-color); padding: 34px 26px; border-radius: 10px; box-shadow: 0 0 25px rgba(0, 0, 0, .08); text-align: center; display: flex; flex-direction: column; align-items: center; transition: .3s; border-top: 3px solid var(--accent-color); }
.firm-box:hover { transform: translateY(-6px); box-shadow: 0 10px 35px rgba(0, 0, 0, .14); }
.firm-logo { width: 100%; max-width: 220px; height: 96px; border-radius: 12px; overflow: hidden; margin-bottom: 18px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px 16px; border: 1px solid #e6e9ee; }
.firm-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.firm-logo span { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.firm-logo span { font-family: var(--heading-font); font-size: 34px; font-weight: 700; color: var(--accent-color); }
.firm-box h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.firm-city { font-size: 14px; color: #7a8491; margin-bottom: 18px; }
.firm-box .btn-accent { margin-top: auto; }
.php-email-form .form-heading i { color: var(--accent-color); margin-right: 6px; }
.dlc-item { display: flex; align-items: center; gap: 10px; border: 1px solid #dde1e6; border-radius: 6px; padding: 10px 12px; cursor: pointer; font-size: 14px; height: 100%; transition: .2s; }
.dlc-item:hover { border-color: var(--accent-color); }
.dlc-item:has(input:checked) { border-color: var(--accent-color); background: var(--accent-soft); }
.dlc-item input { margin: 0; flex-shrink: 0; }

/* ---------- Galeria ciężarówki ---------- */
.gallery-main { position: relative; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: .3s; }
.gallery-nav:hover { background: var(--accent-color); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumb { padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; background: var(--accent-soft); aspect-ratio: 3 / 2; cursor: pointer; transition: .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.gallery-thumb:hover { border-color: color-mix(in srgb, var(--accent-color), transparent 50%); }
.gallery-thumb.active { border-color: var(--accent-color); }

/* ---------- Bazy oddziałów ---------- */
.base-group + .base-group { margin-top: 30px; }
.base-group-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-soft); }
.base-group-title i { color: var(--accent-color); }
.base-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 10px; background: var(--surface-color); box-shadow: 0 0 20px rgba(0, 0, 0, .06); border-left: 4px solid transparent; transition: .2s; }
.base-item + .base-item { margin-top: 12px; }
.base-item.active { border-left-color: var(--accent-color); box-shadow: 0 6px 24px rgba(0, 0, 0, .1); }
.base-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.base-item.active .base-icon { background: var(--accent-color); color: #fff; }
.base-body h4 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.base-body p { margin: 0; font-size: 14px; }
.base-city { color: #7a8491; }
.base-code { display: inline-block; font: 600 11px/1 var(--heading-font); letter-spacing: 1px; background: var(--dark-bg); color: #fff; padding: 4px 7px; border-radius: 3px; vertical-align: middle; margin-left: 4px; }
.base-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 14px; }
.base-actions button { border: 0; background: none; padding: 0; color: var(--accent-color); font-weight: 500; }
.base-actions button:hover { text-decoration: underline; }
.map-sticky { position: sticky; top: 100px; }
@media (max-width: 991px) { .map-sticky { position: relative; top: 0; } }

.contact .info-item .social-row { display: flex; gap: 12px; }
.contact .info-item .social-row a i { border-style: solid; }
.contact .info-item .social-row a:hover i { background: var(--accent-color); color: #fff; }

.kind-badge { display: inline-block; font: 600 11px/1 var(--heading-font); letter-spacing: .8px; text-transform: uppercase; padding: 5px 9px; border-radius: 50px; background: var(--accent-soft); color: var(--accent-color); vertical-align: middle; }
.kind-podwykonawca { background: #fff4e0; color: #9a5b00; }
.firm-box .kind-badge { margin-bottom: 10px; }
.base-group-title .kind-badge { margin-left: 6px; }