/* =========================================
   3. STOPKA I PŁYWAJĄCA SŁUCHAWKA
   ========================================= */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding-top: 0;
}

.footer-cta {
    background-color: var(--primary-color);
    padding: 50px 0;
    text-align: center;
}

.footer-cta h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 700;
}

.footer-cta .btn-hero {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.2);
    border: none;
}

.footer-cta .btn-hero:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about { font-size: 14px; opacity: 0.8; margin-bottom: 15px; }
.company-data { font-size: 13px; opacity: 0.6; line-height: 1.8; }

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; font-size: 15px; }
.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.contact-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.icon-svg { width: 20px; height: 20px; color: var(--white); flex-shrink: 0; }
.icon-svg svg { width: 100%; height: 100%; }

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary-color); }

.creator-sig { opacity: 0.5; margin-left: 5px; transition: opacity 0.3s ease; }
.creator-sig:hover { opacity: 1; }
.creator-sig a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; transition: var(--transition); }
.creator-sig a:hover { color: var(--secondary-color); }

.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.floating-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.2);
    animation: phone-pulse-30s 30s infinite;
}

.floating-icon svg {
    width: 28px;
    height: 28px;
    animation: phone-ring-30s 30s infinite;
}

.floating-tooltip {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 15px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.floating-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-bg);
}

@keyframes phone-pulse-30s {
    0%, 6.6% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0); }
    7.5% { box-shadow: 0 0 0 20px rgba(240, 165, 0, 0.4); }
    8.5% { box-shadow: 0 0 0 40px rgba(240, 165, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0); }
}

@keyframes phone-ring-30s {
    0%, 6.6% { transform: rotate(0); }
    7%, 8%, 9%, 10% { transform: rotate(-15deg); }
    7.5%, 8.5%, 9.5% { transform: rotate(15deg); }
    11%, 100% { transform: rotate(0); }
}

@media (min-width: 768px) {
    .footer-cta h2 { font-size: 32px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bottom-flex { flex-direction: row; justify-content: space-between; }
    .creator-sig { display: inline-block; }
    
    .floating-phone { right: auto; left: 30px; flex-direction: row-reverse; }
    
    .floating-tooltip { margin-right: 0; margin-left: 15px; transform: translateX(-10px); }
    .floating-tooltip.active { transform: translateX(0); }
    
    .floating-tooltip::after { right: auto; left: -6px; border-width: 6px 6px 6px 0; border-color: transparent var(--dark-bg) transparent transparent; }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}