/*
 * Stopka strony
 */

/* ==============================================
   PODSTAWY STOPKI
   ============================================== */

.content .footer {
    background: linear-gradient(135deg, #0c4a6e 0%, #0a80b1 50%, #0369a1 100%);
    color: var(--color-white);
    margin-top: 30px;
    padding-bottom: 20px;
}

.content .footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.content .footer h3 {
    font-family: var(--font-thin);
    font-size: 18px;
    margin: 0 0 20px 0;
    padding: 0;
    color: var(--color-white);
}

.content .footer p {
    font-size: 13px;
    opacity: 0.7;
    color: var(--color-white);
}

/* ==============================================
   LISTA CERTYFIKATÓW
   ============================================== */

.content .footer ul.list-cert {
    margin: 20px 0 0 0;
    padding: 0;
}

@media (min-width: 992px) {
    .content .footer ul.list-cert {
        display: flex;
        justify-content: space-between;
    }
}

.content .footer ul.list-cert li {
    list-style: none;
}

.content .footer ul.list-cert li a {
    color: var(--color-white);
    font-family: var(--font-bold);
    text-shadow: 1px 1px 2px #085272;
    font-size: 14px;
}

/* ==============================================
   FOOTER-2 (addons)
   ============================================== */

.content .footer .footer-2 h3 {
    color: var(--color-text);
    margin-top: 10px;
    font-size: 20px;
}

.content .footer .footer-2 p {
    color: var(--color-text);
    font-size: 16px;
    opacity: 1;
}

/* ==============================================
   KOLUMNY STOPKI
   ============================================== */

.content .footer .footer-cols-row {
    padding: 40px 0 15px;
}

.footer-col {
    margin-bottom: 30px;
}

/* Logo */
.footer-logo {
    display: block;
    max-width: 240px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Opis pod logo */
.footer-col-text {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.65 !important;
    margin-bottom: 16px !important;
    opacity: 1 !important;
}

/* Odznaki */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-badge {
    font-size: 10px;
    font-family: var(--font-bold);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    padding: 2px 7px;
    white-space: nowrap;
}

/* Tytuły kolumn */
.footer-col-title {
    font-size: 11px !important;
    font-family: var(--font-bold) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    opacity: 1 !important;
}

/* ==============================================
   LINKI W STOPCE
   ============================================== */

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links li {
    padding: 4px 0;
}

.footer-col-links li a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-family: var(--font-light);
    transition: color 0.2s ease;
}

.footer-col-links li a:hover {
    color: var(--color-orange);
}

.footer-all-link {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: var(--font-bold) !important;
    font-size: 13px !important;
}

.footer-all-link:hover {
    color: var(--color-orange) !important;
}

/* ==============================================
   KONTAKT W STOPCE
   ============================================== */

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-contact-list li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
    font-family: var(--font-light);
    color: rgba(255, 255, 255, 0.92);
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
    color: var(--color-orange);
}

.footer-contact-icon {
    font-size: 15px;
    min-width: 20px;
    margin-top: 2px;
    opacity: 0.7;
}

/* CTA button */
.footer-cta-btn {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white) !important;
    font-family: var(--font-bold);
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.footer-cta-btn:hover {
    background: #c97a18;
    color: var(--color-white) !important;
}

/* ==============================================
   OVERRIDE — wymusza biały tekst
   ============================================== */

.content .footer,
.content .footer p,
.content .footer li,
.content .footer span,
.content .footer ul {
    color: var(--color-white) !important;
}

.content .footer .footer-2 p,
.content .footer .footer-2 h3 {
    color: var(--color-text) !important;
}

/* Override layout.css linków */
.content .tresc .footer a,
.content .tresc-noslide .footer a,
.content .tresc .footer p,
.content .tresc-noslide .footer p,
.content .tresc .footer li,
.content .tresc-noslide .footer li {
    color: var(--color-white) !important;
}

.content .tresc .footer .footer-col-links li a,
.content .tresc-noslide .footer .footer-col-links li a,
.content .tresc .footer .footer-contact-list li a,
.content .tresc-noslide .footer .footer-contact-list li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.content .tresc .footer .footer-col-links li a:hover,
.content .tresc-noslide .footer .footer-col-links li a:hover,
.content .tresc .footer .footer-contact-list li a:hover,
.content .tresc-noslide .footer .footer-contact-list li a:hover {
    color: var(--color-orange) !important;
}

.content .tresc .footer .footer-all-link,
.content .tresc-noslide .footer .footer-all-link {
    color: rgba(255, 255, 255, 0.5) !important;
}

.content .tresc .footer .footer-all-link:hover,
.content .tresc-noslide .footer .footer-all-link:hover {
    color: var(--color-orange) !important;
}

.content .tresc .footer .footer-2 a,
.content .tresc-noslide .footer .footer-2 a {
    color: var(--color-text) !important;
}

/* ==============================================
   PEŁNA SZEROKOŚĆ STOPKI
   ============================================== */

.content .footer.footer-full-width {
    position: relative;
    width: 100vw;
    margin-left: calc((100% - 100vw) / 2);
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.content .footer.footer-full-width .footer-cols-row,
.content .footer.footer-full-width .footer-bottom-bar {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Gradient pasek na górze */
.content .footer.footer-full-width::before {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(
        90deg,
        var(--color-blue) 0%,
        var(--color-orange) 50%,
        var(--color-blue) 100%
    );
}

/* ==============================================
   KOLUMNA LOGO
   ============================================== */

.footer-col-brand {
    padding-right: 40px !important;
}

@media (max-width: 991px) {
    .footer-col-brand {
        padding-right: 15px !important;
    }
}

/* ==============================================
   IKONY KONTAKTOWE W STOPCE
   ============================================== */

.content .footer .adres-icon,
.content .footer .tel-icon,
.content .footer .mail-icon {
    filter: brightness(0) invert(1);
    color: var(--color-white) !important;
    font-family: var(--font-light) !important;
    font-size: 13px !important;
    margin-bottom: 14px !important;
    padding-left: 50px !important;
}

.content .footer .adres-icon a,
.content .footer .tel-icon a,
.content .footer .mail-icon a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.content .footer .adres-icon a:hover,
.content .footer .tel-icon a:hover,
.content .footer .mail-icon a:hover {
    color: var(--color-orange) !important;
}

/* ==============================================
   ADDON SECTION
   ============================================== */

.footer-addon-section {
    background: rgba(0, 0, 0, 0.18);
    padding: 24px 0 20px;
    width: 100%;
}

.footer-addon-section::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    max-width: 1170px;
    margin: 20px auto 0;
}

/* Ukryj gradient gdy addon jest obecny */
.content .footer.footer-full-width:has(.footer-addon-section)::before {
    display: none;
}

.footer-addon-section .row {
    background: transparent !important;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-addon-section .footer-2 {
    background: transparent !important;
}

.footer-addon-section h2 {
    font-size: 11px !important;
    font-family: var(--font-bold) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 10px !important;
}

.footer-addon-section p,
.footer-addon-section li {
    font-size: 13px !important;
    font-family: var(--font-light) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.7 !important;
    margin-bottom: 6px !important;
    opacity: 1 !important;
}

.footer-addon-section a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-addon-section a:hover {
    color: var(--color-orange) !important;
}

/* Przycisk więcej/mniej */
.footer-addon-section .more-info.btn-more,
.footer-addon-section .more-info.btn-less {
    display: inline-block;
    background: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 3px !important;
    color: var(--color-white) !important;
    font-family: var(--font-medium) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    padding: 5px 16px !important;
    transition:
        border-color 0.2s,
        color 0.2s !important;
}

.footer-addon-section .more-info.btn-more:hover,
.footer-addon-section .more-info.btn-less:hover {
    border-color: var(--color-orange) !important;
    color: var(--color-orange) !important;
}

.content .footer .footer-addon-section a.more-info.btn-more,
.content .footer .footer-addon-section a.more-info.btn-less {
    color: var(--color-white) !important;
    background-image: none !important;
    background: transparent !important;
}

.footer-addon-section .btn-more-class {
    clear: both;
    padding-top: 12px;
}

/* ==============================================
   PASEK COPYRIGHT
   ============================================== */

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

.footer-bottom-left,
.footer-bottom-right {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4) !important;
    padding: 5px 15px;
    font-family: var(--font-light);
}

.footer-bottom-right {
    text-align: right;
}

@media (max-width: 767px) {
    .footer-bottom-right {
        text-align: left;
    }
}

.content .tresc .footer .footer-bottom-bar a,
.content .tresc-noslide .footer .footer-bottom-bar a,
.footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.4) !important;
    transition: color 0.2s ease;
}

.content .tresc .footer .footer-bottom-bar a:hover,
.content .tresc-noslide .footer .footer-bottom-bar a:hover,
.footer-bottom-bar a:hover {
    color: var(--color-orange) !important;
}

.footer-bottom-sep {
    margin: 0 8px;
    opacity: 0.3;
}

/* Ukryj stary .copy */
.content .copy {
    display: none;
}
