/* ========================================
   PMY NET FOOTER
======================================== */

.site-footer {
    position: relative;
    background: #08111f;
    color: #ffffff;
    overflow: hidden;
}

/* Decorative glow */
.site-footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -280px;
    right: -180px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    filter: blur(80px);
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -250px;
    left: -180px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.08);
    filter: blur(80px);
    pointer-events: none;
}


/* ========================================
   FOOTER MAIN
======================================== */

.footer-main {
    position: relative;
    z-index: 1;
    padding: 80px 0 65px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}


/* ========================================
   BRAND
======================================== */

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 24px;
}

.footer-logo img {
    display: block;
    width: 165px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.footer-brand > p {
    margin: 0;
    max-width: 350px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
}


/* ========================================
   SOCIAL MEDIA
======================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;

    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);

    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-3px);
}


/* ========================================
   FOOTER COLUMN
======================================== */

.footer-column h3 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 13px;
}

.footer-column ul li:last-child {
    margin-bottom: 0;
}

.footer-column ul a {
    position: relative;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.6;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-column ul a:hover {
    color: #ffffff;
    padding-left: 5px;
}


/* ========================================
   CONTACT
======================================== */

.footer-contact {
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;

    color: #60a5fa;
    background: rgba(37, 99, 235, 0.08);

    font-size: 15px;
}

.contact-item strong {
    display: block;

    margin-bottom: 3px;

    color: #e2e8f0;

    font-size: 13px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    display: block;

    margin: 0;

    color: #94a3b8;

    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;
}

.contact-item a:hover {
    color: #60a5fa;
}


/* ========================================
   FOOTER BOTTOM
======================================== */

.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.6;
}

.footer-bottom p strong {
    color: #94a3b8;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #64748b;

    font-size: 12px;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links span {
    color: #334155;
    font-size: 11px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }

    .footer-brand > p {
        max-width: 600px;
    }
}


@media (max-width: 768px) {

    .footer-main {
        padding: 60px 0 45px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 145px;
        max-height: 52px;
    }

    .footer-bottom-inner {
        min-height: auto;
        padding: 22px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }
}


@media (max-width: 520px) {

    .footer-main {
        padding: 50px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand > p {
        font-size: 13px;
    }

    .footer-column h3 {
        margin-bottom: 17px;
    }

    .footer-column ul li {
        margin-bottom: 11px;
    }

    .footer-social {
        margin-top: 22px;
    }

    .footer-bottom-inner {
        padding: 20px 0;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
    }
}

/* ========================================
   POPUP CHAT FLOATING WIDGET
======================================== */
.pmy-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.pmy-chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.pmy-chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

.pmy-chat-toggle .chat-icon-open,
.pmy-chat-toggle .chat-icon-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pmy-chat-toggle .chat-icon-open {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.pmy-chat-toggle .chat-icon-close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.pmy-chat-widget.active .pmy-chat-toggle .chat-icon-open {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.pmy-chat-widget.active .pmy-chat-toggle .chat-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Online Pulse Dot */
.pmy-chat-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.pmy-chat-pulse::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    opacity: 0.75;
    animation: pmyPulse 2s infinite ease-out;
}

@keyframes pmyPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Tooltip badge */
.pmy-chat-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #1e293b;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pmy-chat-widget.active .pmy-chat-tooltip {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
}

/* Popup Chat Window */
.pmy-chat-popup {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
    display: flex;
    flex-direction: column;
}

.pmy-chat-widget.active .pmy-chat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.pmy-chat-header {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 18px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pmy-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pmy-chat-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pmy-chat-avatar-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.pmy-chat-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.pmy-chat-info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pmy-chat-close {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pmy-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chat Body */
.pmy-chat-body {
    padding: 20px;
    background: #f8fafc;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pmy-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.pmy-chat-bubble {
    background: #ffffff;
    color: #334155;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 13.5px;
    line-height: 1.55;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    border: 1px solid #f1f5f9;
}

.pmy-chat-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 5px;
    margin-left: 4px;
}

/* Quick chips */
.pmy-chat-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pmy-chat-chip-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pmy-chat-chip-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
    transform: translateX(3px);
}

.pmy-chat-chip-btn i {
    font-size: 12px;
    color: #94a3b8;
}

.pmy-chat-chip-btn:hover i {
    color: #2563eb;
}

/* Footer / Input */
.pmy-chat-footer {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.pmy-chat-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pmy-chat-input {
    flex: 1;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 13px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pmy-chat-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pmy-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #10b981;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pmy-chat-send:hover {
    background: #059669;
    transform: scale(1.06);
}

@media (max-width: 480px) {
    .pmy-chat-widget {
        bottom: 18px;
        right: 18px;
    }
    
    .pmy-chat-toggle {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }
    
    .pmy-chat-popup {
        width: calc(100vw - 36px);
        bottom: 68px;
    }
    
    .pmy-chat-tooltip {
        display: none;
    }
}