/* --- PREMIUM FOOTER STYLE (MAYAR) --- */
footer {
    position: relative;
    padding: 120px 0 0;
    background: #080a0c;
    color: white;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: 0.5s;
}

.footer-brand img:hover {
    filter: drop-shadow(0 0 25px rgba(0, 143, 154, 0.4));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
    margin: 25px 0 35px;
    max-width: 350px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 143, 154, 0.3);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-menu-icons {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu-icons li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-menu-icons li a small {
    font-size: 0.5em;
    opacity: 0.5;
    margin-left: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu-icons li a i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: 0.3s;
}

.footer-menu-icons li a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-menu-icons li a:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--primary);
}

.footer-contact .footer-menu-icons li a {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.footer-contact .footer-menu-icons li a .contact-country-label {
    margin-left: auto;
    margin-right: 0;
}

.footer-contact .footer-menu-icons li a:hover {
    border-color: var(--primary);
    transform: none;
}

.contact-country-label {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.contact-country-label.mex {
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.contact-country-label.usa {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.contact-info-item i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.legal-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.legal-grid a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.legal-grid a:hover {
    color: var(--primary);
}

@media (max-width:1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }
}

/* --- CONTACT MODALS (MAYAR) --- */
.wa-modal {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-modal.active {
    display: flex;
}

.wa-modal-content {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 18px 36px -18px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-modal.active .wa-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.wa-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.wa-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg);
}

.wa-header {
    margin-bottom: 40px;
}

.wa-icon-large {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 143, 154, 0.1);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.2);
}

.wa-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.wa-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

.wa-options {
    display: grid;
    gap: 16px;
}

.wa-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-option-row .wa-option-card {
    flex: 1;
    min-width: 0;
}

.wa-qr-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}

.wa-qr-btn:hover {
    background: rgba(0, 143, 154, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(0, 143, 154, 0.3);
}

.qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.97) 0%, rgba(15, 23, 42, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 36px 28px 28px;
    max-width: 320px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
    animation: qrSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qrSlideUp {
    from {
        transform: translateY(24px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.qr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    font-size: 15px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.qr-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.qr-modal-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    color: var(--primary);
}

.qr-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px;
}

.qr-modal-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.qr-canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.qr-contact-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    word-break: break-all;
}

.wa-option-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-option-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.wa-opt-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wa-opt-info {
    flex: 1;
}

.wa-opt-title {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}

.wa-opt-desc {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

/* --- FLOATING DOCK & BRAND TAG --- */
.floating-dock {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.4);
    padding: 10px;
    border-radius: 22px;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 14px;
    color: #111111;
    font-size: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.dock-item:hover {
    transform: scale(1.2) translateX(-10px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dock-label {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: rgba(17, 24, 39, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item:hover .dock-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}