/* --- FOOTER ARUMA SUPREME --- */
.f-fiscal { font-size: 0.6rem !important; opacity: 0.5; letter-spacing: 0.5px; margin-top: 5px !important; }

.aruma-footer-pro {
    background: linear-gradient(120deg, #0d0d0d 80%, #2a211b 100%);
    color: #fff;
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
    font-family: var(--fuente-cuerpo);
    border-top: 2.5px solid var(--oro);
    box-shadow: 0 -2px 40px 0 rgba(161,129,107,0.08);
}

.footer-overlay-texture {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(161, 129, 107, 0.09) 0%, transparent 50%), url('/wp-content/themes/aruma-clinic-theme/img/footer-texture.png') repeat;
    pointer-events: none;
    opacity: 0.18;
    z-index: 0;
}

.footer-main-layout, .footer-legal-bar {
    position: relative;
    z-index: 1;
}

.f-top-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--oro), transparent);
    opacity: 0.4;
}

.f-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.f-logo { max-width: 150px; margin-bottom: 30px; filter: brightness(0) invert(1); }
.f-tagline { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.4); font-style: italic; }
.f-tagline span { color: var(--oro); font-style: normal; }

.f-social-minimal { display: flex; gap: 20px; margin-top: 30px; }
.f-social-minimal a { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #fff; text-decoration: none; opacity: 0.5; }
.f-social-minimal a:hover { color: var(--oro); opacity: 1; }
.f-sep { opacity: 0.1; }

.f-label { display: block; text-transform: uppercase; letter-spacing: 4px; font-size: 0.65rem; color: var(--oro); font-weight: 700; margin-bottom: 25px; }

.f-info-item { margin-bottom: 40px; }
.f-info-item p { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

.f-link-gold { font-size: 0.8rem; color: var(--oro); text-decoration: none; border-bottom: 1px solid rgba(161, 129, 107, 0.2); padding-bottom: 3px; text-transform: uppercase; letter-spacing: 1px; }

.f-contact-link { display: block; font-size: 1.15rem; color: #fff; text-decoration: none; margin-bottom: 10px; font-family: var(--fuente-titulos); transition: 0.4s; }
.f-contact-link:hover { color: var(--oro); transform: translateX(5px); }

.f-map-container { border-radius: 24px; overflow: hidden; filter: grayscale(1) invert(0.9); border: 1px solid rgba(255,255,255,0.05); transition: 0.6s; }
.f-map-container:hover { filter: grayscale(0) invert(0); }

.f-bottom-bar { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; }
.f-legal-credits p { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin: 0; letter-spacing: 0.5px; }
.f-legal-links a { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-decoration: none; margin-left: 25px; transition: 0.3s; }
.f-legal-links a:hover { color: var(--oro); }

/* --- WIDGET WHATSAPP LUXURY --- */
.wa-luxury-system {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
       width: auto;
  height: auto;
  pointer-events: auto;
}

.wa-float-trigger {
    width: 65px; height: 65px; background: #25D366; border: 1px solid #25D366;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); transition: 0.4s;
}
.wa-float-trigger svg { width: 28px; fill: #fff; }
.wa-float-trigger:hover { transform: scale(1.1); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

.wa-window {
    position: relative;
    margin-bottom: 12px;
    width: 340px;
    background: var(--crema);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.18);
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid var(--oro);
    z-index: 10000;
     pointer-events: none;
}
.wa-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wa-window-header {
    background: var(--blanco-puro);
    color: var(--texto);
    border-bottom: 1.5px solid var(--oro);
    box-shadow: 0 2px 12px rgba(161,129,107,0.04);
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.wa-header-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wa-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
}

.wa-avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--oro);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #fff;
}

.wa-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #25d366;
    border-radius: 50%;
    border: 2px solid #fff;
}

.wa-name {
    color: var(--oro);
    font-weight: 600;
    font-size: 1.08rem;
    font-family: var(--fuente-titulos);
}

.wa-status {
    color: var(--texto);
    opacity: 0.7;
    font-size: 0.82rem;
    font-style: italic;
}

.wa-close-btn {
    background: none;
    border: none;
    color: var(--oro);
    font-size: 2.1rem;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.wa-close-btn:hover { opacity: 1; }

.wa-window-body {
    padding: 32px 26px 18px 26px;
    background: var(--crema);
    font-size: 1.05rem;
    color: var(--texto);
    font-family: var(--fuente-cuerpo), 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.wa-chat-bubble {
    background: var(--blanco-puro);
    color: var(--texto);
    border: 1.5px solid var(--oro);
    border-radius: 18px 18px 18px 6px;
    padding: 18px 22px;
    font-size: 1.04rem;
    line-height: 1.7;
    box-shadow: 0 5px 15px rgba(161,129,107,0.08);
    font-family: inherit;
    letter-spacing: 0.01em;
}

.wa-window-footer {
    padding: 0 26px 28px;
    background: var(--crema);
}

.wa-action-btn {
    display: block;
    background: var(--oro);
    color: var(--blanco-puro);
    text-decoration: none;
    text-align: center;
    padding: 15px 0;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.08rem;
    transition: 0.3s;
    border: none;
    box-shadow: 0 2px 8px rgba(161,129,107,0.10);
    font-family: inherit;
    letter-spacing: 0.01em;
}

.wa-action-btn:hover {
    background: var(--blanco-puro);
    color: var(--oro);
    border: 1.5px solid var(--oro);
}

@media (max-width: 1024px) {
    .f-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .f-column-map {
        display: block;
        margin-top: 30px;
    }
    .f-map-container iframe {
        height: 180px;
        border-radius: 14px;
    }
    .f-logo {
        margin: 0 auto 24px auto;
        display: block;
    }
    .f-tagline {
        text-align: center;
        font-size: 1.1rem;
    }
    .f-social-minimal {
        justify-content: center;
        margin-bottom: 24px;
    }
    .f-bottom-bar {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .f-legal-links a {
        margin: 0 10px;
    }
}
@media (max-width: 700px) {
    .container-aruma {
        padding: 0 4vw;
    }
    .f-main-grid {
        gap: 32px;
        margin-bottom: 40px;
    }
    .f-column-brand, .f-column-info, .f-column-map {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }
    .f-logo {
        margin: 0 auto 18px auto;
        max-width: 120px;
    }
    .f-tagline {
        font-size: 1.05rem;
        margin-bottom: 18px;
    }
    .f-social-minimal {
        justify-content: center;
        margin-bottom: 18px;
        gap: 10px;
    }
    .f-info-item {
        margin-bottom: 24px;
    }
    .f-map-container {
        border-radius: 10px;
        margin: 0 auto 18px auto;
        max-width: 100vw;
    }
    .f-map-container iframe {
        height: 120px;
        border-radius: 10px;
        width: 100%;
        min-width: 0;
    }
    .f-bottom-bar {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 18px;
        padding-top: 24px;
    }
    .f-legal-links a {
        margin: 0 6px;
        font-size: 0.9em;
    }
}
@media (max-width: 390px) {
    .wa-window {
        min-width: 0;
        margin: 0 auto 6px auto;
        border-radius: 10px;
        left: 0;
        right: 0;
    }
    .wa-window-header, .wa-window-body, .wa-window-footer {
        padding-left: 4vw;
        padding-right: 4vw;
    }
    .wa-chat-bubble {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}



    @media (max-width: 1024px) {
    .wa-luxury-system {
        right: auto !important;
        left: 20px !important;
        bottom: 20px !important;
    }
    

.wa-luxury-system .wa-window {
    position: fixed !important;
    bottom: 120px !important;
    right: 20px !important;
    width: 340px !important;
    height: auto !important;
}
    .wa-window {
        position: fixed !important;
        bottom: 100px !important;
        right: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-width: 100% !important;
    }
}
/* --- ARUMA MINIMAL SCROLL --- */

.aruma-scroll-chic {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 98;
    color: var(--oro);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.10);
    border-radius: 50%;
    border: 2.5px solid var(--oro);
    box-shadow: 0 8px 32px rgba(161,129,107,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.5s, background 0.3s, box-shadow 0.3s, visibility 0.5s;
    pointer-events: auto;
    cursor: pointer;
    backdrop-filter: blur(2px);
}
.aruma-scroll-chic:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 16px 40px rgba(161,129,107,0.25);
    opacity: 1;
}
.aruma-scroll-chic svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
    animation: aruma-arrow-glide 2.5s infinite;
}

/* Animación de deslizamiento elegante */
@keyframes aruma-arrow-glide {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Desaparece al bajar para no estorbar el contenido */
.aruma-scroll-chic.is-hidden {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 768px) {
    .aruma-scroll-chic {
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
    .aruma-scroll-chic svg {
        width: 22px;
        height: 22px;
    }
}

/* --- ESTILO EDITORIAL PARA DATOS LEGALES (NO TABLA) --- */
.legal-table-box {
    margin: 40px 0;
    padding: 40px;
    background: #fdfaf8; /* Un crema muy suave */
    border: 1px solid rgba(161, 129, 107, 0.1);
    border-radius: 20px;
}

.legal-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas en desktop */
    gap: 40px 60px;
}

.legal-data-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-data-label {
    font-family: var(--fuente-titulos);
    color: var(--oro);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 700;
    border-bottom: 1px solid rgba(161, 129, 107, 0.15);
    padding-bottom: 5px;
    width: fit-content;
}

.legal-data-value {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0 !important;
}

/* RESPONSIVE: Listado vertical */
@media (max-width: 768px) {
    .legal-data-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        gap: 30px;
    }
    
    .legal-table-box {
        padding: 30px 20px;
    }

    .legal-data-label {
        font-size: 0.65rem;
    }

    .legal-data-value {
        font-size: 0.85rem;
    }
}

