/* ==========================================================================
   ⚡ NUEVO FOOTER MAESTRO COMPACTO VACACERDO (assets/css/footer.css)
   ========================================================================== */
.new-master-footer {
    background: linear-gradient(90deg, #1c0604 0%, #000000 40%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 85px 40px 40px 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.footer-grid-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 45px;
    align-items: flex-start;
}

.footer-brand-side {
    padding-right: 20px;
}
.footer-brand-side h3 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}
.footer-brand-side p {
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 14px 0;
    max-width: 340px;
}
.footer-location {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons-row {
    display: flex;
    gap: 14px;
    align-items: center;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.social-link svg {
    width: 18px;
    height: 18px;
    fill: #888888;
    transition: fill 0.3s ease;
}

.social-link:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.3); }
.social-link.ws-link:hover { background-color: #128c7e; border-color: #128c7e; }
.social-link.ws-link:hover svg { fill: #ffffff; }
.social-link.ig-link:hover { background-color: #e1306c; border-color: #e1306c; }
.social-link.ig-link:hover svg { fill: #ffffff; }
.social-link.fb-link:hover { background-color: #1877f2; border-color: #1877f2; }
.social-link.fb-link:hover svg { fill: #ffffff; }
.social-link.mail-link:hover { background-color: #c43822; border-color: #c43822; }
.social-link.mail-link:hover svg { fill: #ffffff; }

.footer-links-side h4 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    opacity: 0.9;
}
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-nav-list a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 400;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}
.footer-nav-list a:hover {
    color: #ffffff;
    padding-left: 2px;
}

.footer-news-side h4 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}
.footer-news-side p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 22px 0;
}
.newsletter-vertical-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
}
.newsletter-vertical-form input[type="email"] {
    width: 100%;
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.newsletter-vertical-form input[type="email"]:focus {
    border-color: #c43822;
}
.newsletter-vertical-form button {
    width: 100%;
    background-color: #c43822;
    color: #ffffff;
    border: none;
    padding: 14px 0;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.newsletter-vertical-form button:hover {
    background-color: #ffffff;
    color: #000000;
}

.footer-bottom-bar {
    max-width: 1300px;
    margin: 65px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-copyright { color: #555555; }
.footer-credit {
    color: #888888;
    padding-right: 75px; /* ← empuja el texto a la izquierda del botón WhatsApp */
}
.footer-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}
.footer-credit a:hover { color: #c43822; border-bottom-color: #c43822; }

@media (max-width: 991px) {
    .new-master-footer { padding: 60px 20px 30px 20px; background: linear-gradient(180deg, #1c0604 0%, #000000 100%); }
    .footer-grid-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand-side { padding-right: 0; }
    .footer-brand-side p { margin: 0 auto 12px auto; }
    .social-icons-row { justify-content: center; }
    .footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; margin-top: 40px; }
    .footer-credit { padding-right: 0; } /* ← anula el padding en mobile */
}

/* ==========================================================================
   WIDGETS DEL FOOTER — newsletter, botón flotante de WhatsApp y popup de
   salida. Movidos desde footer.js (29-sep), donde vivían como <style>
   dentro del JavaScript.
   ========================================================================== */
.footer-news-side { display: flex; flex-direction: column; }

.vault-highlight-text { font-size: 0.9rem; line-height: 1.6; color: #a3a3a3; margin-bottom: 20px; }
.vault-highlight-text strong { color: #ffffff; font-weight: 600; }
.vault-badge { color: #c43822; font-weight: 700; letter-spacing: 0.5px; }

.newsletter-vertical-form.vault-clean-console { display: flex; flex-direction: column; gap: 10px; }
.newsletter-vertical-form.vault-clean-console input[type="email"] {
    background: #121212; border: 1px solid #262626; color: #ffffff;
    font-family: 'Inter', sans-serif; padding: 12px 15px; border-radius: 4px;
    font-size: 1rem; transition: border-color 0.3s ease;
}
.newsletter-vertical-form.vault-clean-console input[type="email"]:focus { border-color: #c43822; outline: none; }
.newsletter-vertical-form.vault-clean-console button {
    background: #c43822; color: #ffffff; font-family: 'Inter', sans-serif;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 12px; border: none; border-radius: 4px; cursor: pointer;
    transition: background-color 0.3s ease;
}
.newsletter-vertical-form.vault-clean-console button:hover:not(:disabled) { background: #e0442b; }
.newsletter-vertical-form.vault-clean-console button:disabled { background: #1a1a1a; color: #525252; cursor: not-allowed; }

.vc-wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 9990;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.vc-wa-bubble {
    display: none; background: #0f0f0f; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 12px 16px; max-width: 220px;
    font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #cccccc;
    line-height: 1.4; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    animation: bubblePop 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
    transform-origin: bottom right;
}
.vc-wa-bubble.visible { display: block; }
@keyframes bubblePop {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.vc-wa-bubble strong { display: block; color: #ffffff; font-size: 0.82rem; margin-bottom: 4px; }
.vc-wa-btn {
    width: 56px; height: 56px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; flex-shrink: 0;
}
.vc-wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.vc-wa-btn svg { width: 28px; height: 28px; fill: #ffffff; }
.vc-wa-btn::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: waPulse 2.5s ease-out infinite; pointer-events: none;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    70%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}
.vc-wa-context-tag {
    display: none; position: absolute; top: -8px; right: -4px;
    background: #c43822; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 0.58rem; font-weight: 800; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 2px 6px; border-radius: 10px;
    white-space: nowrap; box-shadow: 0 2px 8px rgba(196,56,34,0.5);
}
.vc-wa-context-tag.visible { display: block; }

.vc-exit-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.82);
    backdrop-filter: blur(6px); z-index: 99999;
    align-items: center; justify-content: center; padding: 20px;
}
.vc-exit-overlay.open { display: flex; }
.vc-exit-modal {
    background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid #c43822; border-radius: 16px; padding: 40px 36px;
    max-width: 480px; width: 100%; position: relative;
    animation: exitPop 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes exitPop {
    from { opacity: 0; transform: scale(0.92) translateY(-20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.vc-exit-close {
    position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.05);
    border: none; color: #666666; width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 1rem; display: flex; align-items: center;
    justify-content: center; transition: all 0.2s ease; font-family: 'Inter', sans-serif;
}
.vc-exit-close:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.vc-exit-tag {
    font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700;
    color: #c43822; letter-spacing: 2.5px; text-transform: uppercase;
    display: block; margin-bottom: 14px;
}
.vc-exit-title {
    font-family: 'Inter', sans-serif; font-size: 1.65rem; font-weight: 900;
    color: #ffffff; letter-spacing: -0.8px; line-height: 1.15;
    margin: 0 0 10px; text-transform: uppercase;
}
.vc-exit-title em {
    font-style: italic; font-weight: 300; color: #888888;
    text-transform: none; font-family: serif;
}
.vc-exit-sub {
    font-family: 'Inter', sans-serif; font-size: 0.88rem; color: #888888;
    line-height: 1.5; margin: 0 0 24px;
}
.vc-exit-form { display: flex; flex-direction: column; gap: 10px; }
.vc-exit-input {
    background: #141414; border: 1px solid #262626; color: #ffffff;
    padding: 13px 16px; border-radius: 7px; font-family: 'Inter', sans-serif;
    font-size: 1rem; transition: border-color 0.3s ease;
    width: 100%; box-sizing: border-box;
}
.vc-exit-input:focus { border-color: #c43822; outline: none; }
.vc-exit-input::placeholder { color: #444444; }
.vc-exit-submit {
    background: #c43822; color: #ffffff; border: none; padding: 14px;
    border-radius: 7px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; width: 100%;
}
.vc-exit-submit:hover:not(:disabled) { background: #d64030; transform: translateY(-1px); }
.vc-exit-submit:disabled { background: #2a2a2a; color: #555555; cursor: not-allowed; transform: none; }
.vc-exit-dismiss {
    text-align: center; margin-top: 12px; font-family: 'Inter', sans-serif;
    font-size: 0.75rem; color: #444444; cursor: pointer; transition: color 0.2s ease;
}
.vc-exit-dismiss:hover { color: #888888; }
.vc-exit-msg {
    display: none; margin-top: 10px; padding: 10px 14px; border-radius: 6px;
    font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600; text-align: center;
}
.vc-exit-success { text-align: center; padding: 20px 0 10px; }
.vc-exit-success-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.vc-exit-success h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 800; color: #ffffff; margin: 0 0 8px; }
.vc-exit-success p  { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #888888; margin: 0; }

@media (max-width: 500px) {
    .vc-exit-modal { padding: 32px 20px; }
    .vc-exit-title { font-size: 1.35rem; }
    .vc-wa-float   { bottom: 18px; right: 18px; }
}
